Laguerrepj87
Technical User
Hey I need help.
I need to know how to calculate different calculations performed depending on the selection.
If someone select age from a combo box it will use a formula designed for that age.
Then the input from the form will automatically input what is required into the formula.
This is what I mean.
from ages 0-3mo (89*[what weight they input from the form](convert it to Kg)- 100 +175 Kcal
from ages 4-6mo (89*[what weight they input from the form](convert it to Kg)- 100 +56 Kcal
from ages 7-12mo (89*[what weight they input from the form](convert it to Kg)- 100 +22 Kcal
from ages 13-36mo (89*[what weight they input from the form](convert it to Kg)- 100 +175 Kcal
this is where it gets kind of tricky
from ages Boys 3-8 years old 88.5-(61.9*[age picked from the form(combo box)}+[PA input from the form]*(26.7*[weight input from the form( and convert it to [kg]]+903*[height the input from form(list box)&(convert it to [m]])+20
from ages Girls 3-8 years old 135.3-(30.8*[age picked from the form(combo box)+[PA input from the form]*(10.0*[weight input from the form( and convert it to [kg]]+934*[height the input from form(list box)&(convert it to [m]])+20
I don’t know if I should design a query that does all these calculations by breaking the calculations into a table then having the query criteria do all the work.
I’m not a programmer but unfortunately I have to get it done.
Any ideas?
I need to know how to calculate different calculations performed depending on the selection.
If someone select age from a combo box it will use a formula designed for that age.
Then the input from the form will automatically input what is required into the formula.
This is what I mean.
from ages 0-3mo (89*[what weight they input from the form](convert it to Kg)- 100 +175 Kcal
from ages 4-6mo (89*[what weight they input from the form](convert it to Kg)- 100 +56 Kcal
from ages 7-12mo (89*[what weight they input from the form](convert it to Kg)- 100 +22 Kcal
from ages 13-36mo (89*[what weight they input from the form](convert it to Kg)- 100 +175 Kcal
this is where it gets kind of tricky
from ages Boys 3-8 years old 88.5-(61.9*[age picked from the form(combo box)}+[PA input from the form]*(26.7*[weight input from the form( and convert it to [kg]]+903*[height the input from form(list box)&(convert it to [m]])+20
from ages Girls 3-8 years old 135.3-(30.8*[age picked from the form(combo box)+[PA input from the form]*(10.0*[weight input from the form( and convert it to [kg]]+934*[height the input from form(list box)&(convert it to [m]])+20
I don’t know if I should design a query that does all these calculations by breaking the calculations into a table then having the query criteria do all the work.
I’m not a programmer but unfortunately I have to get it done.
Any ideas?