I am using MS Access 2007. I have a problem that may be simple, but I have yet to figure out the solution to by looking through the forum.
I am trying to use a BMI calculation using the form. None of the controls ie. weight and height has a field on the table, and I also do not need to have the calculation recorded.
So far I have the controls: [Weight], [Height1], [Height2], and [BMI Calc]
On the Control Source of the [BMI Calc] I have used the equation
= (703*[Weight])/((12*[Height1]+[Height2])^2
The [Height1] is in feet so it must be converted to inches and added with [Height2] which is in inches for total height in inches.
The BMI calculation is as follows: BMI=(703*(Weight))/((Height)^2)
So far the equation only gives in #NAME which I'm certain is an error on the calculation part since the controls for weight and height are not giving an error.
I am trying to use a BMI calculation using the form. None of the controls ie. weight and height has a field on the table, and I also do not need to have the calculation recorded.
So far I have the controls: [Weight], [Height1], [Height2], and [BMI Calc]
On the Control Source of the [BMI Calc] I have used the equation
= (703*[Weight])/((12*[Height1]+[Height2])^2
The [Height1] is in feet so it must be converted to inches and added with [Height2] which is in inches for total height in inches.
The BMI calculation is as follows: BMI=(703*(Weight))/((Height)^2)
So far the equation only gives in #NAME which I'm certain is an error on the calculation part since the controls for weight and height are not giving an error.