-----Original Message-----
Can anyone tell me how to get Access to calculate the age
of a person from their date of birth? Thanks in advance!
.
You need to make a query using the DOB and the function
DATE() which gives you the current date. Then you do a
datedif(date(),DOB) What I did is to express the results
in days and then divide by 365 for the year and the rest
is a function of months. you can do it in hours if you
like and calculate days months and years. Also like at
the help for access on date functions for more syntax.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.