View Single Post
  #2  
Old April 23rd, 2010, 05:27 PM posted to microsoft.public.access.reports
John Spencer
external usenet poster
 
Posts: 7,815
Default Creating a report

Well to be five or over on 12/2/10 there dob would have to be equal to or
greater than that date 5 years ago.

So use criteria to filter the data
= DateAdd("yyyy",-5,#12/2/10#)

Your date is ambiguous. Is it supposed to be December 2, 2010 or February
12, 2010? If you are using a date literal such as 12/2/10 then you must
express that date in the form month day year or year month day (yyyy-mm-dd).

John Spencer
Access MVP 2002-2005, 2007-2010
The Hilltop Institute
University of Maryland Baltimore County

Christina G. wrote:
Using a date of birth feild. How can I creat a report by people who were 5
by 12/2/10? The access program I use is 2003