Date of Birth

P

Paul S

I would like the formula for determining a person's age. For example: One of
my fields says: "Date of Birth" and the other field "Age." What is the
formula I should use to determine that person's age in a query? Any
assistance would be greatly appreciated. Thank you!
 
P

Paul S

Yes Allen I know that I should not put an Age field in my table but in the
query. However I am confused about the formula that you referred to in your
article. Can you simply give me the formula. I am new at ACCESS. Thanks for
your help.
 
J

John Vinson

Can you simply give me the formula.

The formula I use is:

Age: DateDiff("yyyy", [DOB], Date()) - IIF(Format([DOB], "mmdd") >
Format(Date(), "mmdd"), 1, 0)

John W. Vinson[MVP]
 
Top