calculating age
The UK's Number 1 for Microsoft Office Training Add this page to your favourites/bookmarksBookmark page
 
View printable version of pagePrintable version
Plus One Google
Customer: Sign in
Delegate: Sign in
Trainer: Log in

Forum home » Delegate support and help forum » Microsoft Access Training and help » Calculating Age

Calculating Age

resolvedResolved · Low Priority · Version 2003

replyReply Wed 5 Nov 2008, 14:00Delegate Janice said...

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

Calculating Age

How do you calculate age from DOB?

For upcoming training course dates see: Pricing & availability

replyReply Fri 7 Nov 2008, 13:44Trainer Rajeev said...

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

 

Please browse our web site to find out more about
access advanced courses and other Microsoft training courses.

Access tip:

Compact database automoatically

To ensure optimal performance, you should compact and repair your

Open the Access database or Access project that you want Access to compact automatically.
On the Tools menu, click Options.
Click the General tab.
Select the Compact on Close check box.

View all Access hints and tips


Microsoft Certified Partner Accredited Training Provider: Institute of IT Training Institute of Leadership and Management - Certified Courses Security Seal verified by visa, mastercard securecard