You can then Average the result of the calculations.
Duane MS Access MVP
[green]Ask a great question, get a great answer.[/green] [red]Ask a vague question, get a vague answer.[/red]
[green]Find out how to get great answers faq219-2884.[/green]
You may try something like this:
SELECT Pupil.DOB, DateDiff('yyyy',[DOB],Now()) AS Age, (SELECT Avg(DateDiff('yyyy',[DOB],Now())) FROM Pupil) AS Avg_Age
FROM Pupil
Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
Consider someone born 12/31/2005. This baby would be one year old on the next day. A baby born 1/1/2005 would also be one year old on 12/31/2006. How could a baby 1 day old be the same age as a baby 729 days old?
Maybe in your case, this will even out in July of a year.
Duane MS Access MVP
[green]Ask a great question, get a great answer.[/green] [red]Ask a vague question, get a vague answer.[/red]
[green]Find out how to get great answers faq219-2884.[/green]
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.