Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

calculating age

ResolvedVersion 2003

Janice has attended:
Access Introduction course
Access Intermediate course
Access Advanced course

Calculating Age

How do you calculate age from DOB?

RE: Calculating Age

Dear Janice

Thank you for attending Access courses!! I hope you enjoyed the course and benefited from it.

Yo calculate the age from DOB please follow these steps:

1. Create a query in design view

2. Download all the fields that you wich to see in the result view

3. On the new field in the grid box of the query design view type in the following:

Age: (Date()-[dob])/365


Age is the name if the new field

Date() is the current date

[dob] is the date of birth field

/365 is ensure that the result is in years

If you see too many digits after the decimal places please right-clcik on the age filed and change the decimal places to 0.


I hope this has answered your query.

If this has answered your query then I would request you to please mark the question as resolved!! If not and you have a specific question related to this then please post it as a new question and we should be able to provide you the solution for it!!

Kindest Regards


Rajeev Rawat
MOS Master Instructor 2000 and 2003
MCAS Master Instructor 2007

Access tip:

Splittng a database

Split your database into two (at least).

Keep all of your code, forms, reports, etc. in one 'code' database and all of your tables in another 'data' database which is then linked to the 'code' database.

This makes modifications, updates and back-ups that much easier and allows you to work on a new version of your 'code' database without affecting existing users. It also makes it easier should you wish to convert a single user databases into a multi-user networked version.

View all Access hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.11 secs.