SELECT [DoB Test].[Date of Birth], Date() AS Today, IIf(Month([date of birth])>Month(Date()),DateDiff("yyyy",[date of birth],Date())-1,DateDiff("yyyy",[date of birth],Date())) AS Years, IIf(Month([date of birth])>Month(Date()),Month(Date())+12-Month([date of birth]),Month(Date())-Month([date of birth])) AS Months
FROM [DoB Test]
WITH OWNERACCESS OPTION;
I set up a table "DoB Test" and populated a few dates. The query above will give you Years difference and Months difference. Couldn't get Days quite right, but here are the results:
<TABLE border=1 cellSpacing=0 bgColor=#ffffff>
<CAPTION>Query1</CAPTION><THEAD><TR><TH bgColor=#c0c0c0 borderColor=#000000>
Date of Birth</TH><TH bgColor=#c0c0c0 borderColor=#000000>
Today</TH><TH bgColor=#c0c0c0 borderColor=#000000>
Years</TH><TH bgColor=#c0c0c0 borderColor=#000000>
Months</TH></TR></THEAD><TBODY><TR vAlign=top><TD borderColor=#d0d7e5 align=right>
1/15/1960</TD><TD borderColor=#d0d7e5 align=right>
3/25/2011</TD><TD borderColor=#d0d7e5 align=right>
51</TD><TD borderColor=#d0d7e5 align=right>
2</TD></TR><TR vAlign=top><TD borderColor=#d0d7e5 align=right>
2/18/1961</TD><TD borderColor=#d0d7e5 align=right>
3/25/2011</TD><TD borderColor=#d0d7e5 align=right>
50</TD><TD borderColor=#d0d7e5 align=right>
1</TD></TR><TR vAlign=top><TD borderColor=#d0d7e5 align=right>
3/25/1962</TD><TD borderColor=#d0d7e5 align=right>
3/25/2011</TD><TD borderColor=#d0d7e5 align=right>
49</TD><TD borderColor=#d0d7e5 align=right>
0</TD></TR><TR vAlign=top><TD borderColor=#d0d7e5 align=right>
4/8/1963</TD><TD borderColor=#d0d7e5 align=right>
3/25/2011</TD><TD borderColor=#d0d7e5 align=right>
47</TD><TD borderColor=#d0d7e5 align=right>
11</TD></TR><TR vAlign=top><TD borderColor=#d0d7e5 align=right>
5/1/1964</TD><TD borderColor=#d0d7e5 align=right>
3/25/2011</TD><TD borderColor=#d0d7e5 align=right>
46</TD><TD borderColor=#d0d7e5 align=right>
10</TD></TR><TR vAlign=top><TD borderColor=#d0d7e5 align=right>
6/30/1965</TD><TD borderColor=#d0d7e5 align=right>
3/25/2011</TD><TD borderColor=#d0d7e5 align=right>
45</TD><TD borderColor=#d0d7e5 align=right>
9</TD></TR><TR vAlign=top><TD borderColor=#d0d7e5 align=right>
7/28/1966</TD><TD borderColor=#d0d7e5 align=right>
3/25/2011</TD><TD borderColor=#d0d7e5 align=right>
44</TD><TD borderColor=#d0d7e5 align=right>
8</TD></TR></TBODY><TFOOT></TFOOT></TABLE>
Hope this helps.
Phil...