How to Calculate Age .....
Feb 21 2003, 09:06 PM
UA Forum Administrator
Joined: 8-February 00
From: Birmingham, Alabama USA
This question comes up all the time so I thought I'd post the solution here in the FAQAs.
If you want to calculate the age in a query ... create a "Field Expression":
If you want to calculate the age directly in the Control Source of a txtbox on a Form or Report ... use:
"DOB" should be the name of the field that contains the "Date of Birth".
You can find many "user defined" functions to calculate "age" ... but there is no need to create and use a user defined function as the expressions above will give you the correct result you want.
|Search Top Lo-Fi||31st May 2016 - 05:01 AM|