I am storing values on scales.
I would like to store an equation which would use those values and return the result. I am not sure how to do this.
Here is an example:
I stored the values on a number of scales:
S1 = 3
S2 = 5
S3 =10
Now the user can specify an equation which I store as text in a different table. I will need to check if the equation is correctly formatted but for now lets suppose it is. Say the equation is the following:
(S1*S2)*5-S3^2*6
I would like a form to display the result of:
3*5*5-10^2*6 = -525
Unfortunately I need a generic solution as I will not know either the names or the number of the scales used.
Thanks for the help.
SWK
I would like to store an equation which would use those values and return the result. I am not sure how to do this.
Here is an example:
I stored the values on a number of scales:
S1 = 3
S2 = 5
S3 =10
Now the user can specify an equation which I store as text in a different table. I will need to check if the equation is correctly formatted but for now lets suppose it is. Say the equation is the following:
(S1*S2)*5-S3^2*6
I would like a form to display the result of:
3*5*5-10^2*6 = -525
Unfortunately I need a generic solution as I will not know either the names or the number of the scales used.
Thanks for the help.
SWK