A
Annemarie
I know it is completely frowned upon to store a calculated field in a
table...BUT I think I need to...
I have a form that is used to calculate the value based on a formula.
This form is pulled up based on a value selected in a field on a
previous form. There will be several instances like this where I need
to store the calculated value. The field I need to store is a
calculation of several unbound fields, so the calculation formula is in
the control source of the final field. I need this field to store that
value in a table, but the calculation occupies the control source so it
cannot. The value stored in the table is used for later calculations.
The form is generic, and will be used on multiple occasions, each
producing a different calculated number. How can I get the calculation
to store in the control source field and still perform the calculation?
The field in the table the calculation will be stored in has many
different sources of data. In some cases a number is simply typed and
inputted in. In some cases a value is chosen based on a toggle group
which sends the correct number to the field. In some cases a
calculated number needs to be sent to the field based on a particular
form (there will be 15-20 different forms producing calculations for
this purpose).
Does this make any sense??
Say the field I need to store info in is Reqt Alg.
In the form, the control source is
=((([TypeIMod]*[TypeIHDW])+([TypeIIMod]*[TypeIIHDW]))*([StdDepth]/[ConvtoSY]))
All of the fields the calculation is based on are unbound...that data
is not important and there are so many different forms I need for this
purpose it would create an additional 15-20 tables to store unnecessary
data. I only need the calculated value.
Please...any help I can get is welcomed!
table...BUT I think I need to...
I have a form that is used to calculate the value based on a formula.
This form is pulled up based on a value selected in a field on a
previous form. There will be several instances like this where I need
to store the calculated value. The field I need to store is a
calculation of several unbound fields, so the calculation formula is in
the control source of the final field. I need this field to store that
value in a table, but the calculation occupies the control source so it
cannot. The value stored in the table is used for later calculations.
The form is generic, and will be used on multiple occasions, each
producing a different calculated number. How can I get the calculation
to store in the control source field and still perform the calculation?
The field in the table the calculation will be stored in has many
different sources of data. In some cases a number is simply typed and
inputted in. In some cases a value is chosen based on a toggle group
which sends the correct number to the field. In some cases a
calculated number needs to be sent to the field based on a particular
form (there will be 15-20 different forms producing calculations for
this purpose).
Does this make any sense??
Say the field I need to store info in is Reqt Alg.
In the form, the control source is
=((([TypeIMod]*[TypeIHDW])+([TypeIIMod]*[TypeIIHDW]))*([StdDepth]/[ConvtoSY]))
All of the fields the calculation is based on are unbound...that data
is not important and there are so many different forms I need for this
purpose it would create an additional 15-20 tables to store unnecessary
data. I only need the calculated value.
Please...any help I can get is welcomed!