| | |
Calculated field in Access
Please support our MS Access and FileMaker Pro advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Jun 2009
Posts: 1
Reputation:
Solved Threads: 0
Hello,
This was supposed to be easy but I could not get it!
I need to create a calculated field in Access (preferably in a table or maybe a query) that calculates the BMI. I have fields for the weight in kgs and Height in cm. The formula is:
BMI=(Wt(in kg)/(Ht (in meters)^2)). However, as the height is stored in cm I need to convert it to meter. And also, I need the BMI with only 1 decimal place (for example: 23.6)
I came up with the expression:
=([Tbl1]![weight])/(([Tbl1]![Height]/100)^2)
Can anyone help!
Thank You.
Mona
This was supposed to be easy but I could not get it!
I need to create a calculated field in Access (preferably in a table or maybe a query) that calculates the BMI. I have fields for the weight in kgs and Height in cm. The formula is:
BMI=(Wt(in kg)/(Ht (in meters)^2)). However, as the height is stored in cm I need to convert it to meter. And also, I need the BMI with only 1 decimal place (for example: 23.6)
I came up with the expression:
=([Tbl1]![weight])/(([Tbl1]![Height]/100)^2)
Can anyone help!
Thank You.
Mona
![]() |
Similar Threads
- How to create a Calculated and a Lookup Field (C#)
- Retrieve select info from field in MS Access db (Visual Basic 4 / 5 / 6)
- converting date from form to field in access (Visual Basic 4 / 5 / 6)
- Querying a Calculated Field? (MS Access and FileMaker Pro)
- Unique field/primary key for Access (Visual Basic 4 / 5 / 6)
- connect with access (Visual Basic 4 / 5 / 6)
- drop down list in VB6 from Access table (Visual Basic 4 / 5 / 6)
Other Threads in the MS Access and FileMaker Pro Forum
- Previous Thread: SQL to Access question
- Next Thread: Multi-select listboxes
| Thread Tools | Search this Thread |





