=now () - 90

  • Thread starter Thread starter Gary
  • Start date Start date
G

Gary

Need some help returning records in a query. I have a field with dates and I
only want to return the records that have a date of either today or as far
back as 90 days from today.

Should be an easy one... I hope...
GFS
 
Set the criteria to

Between DateAdd("d",-90,Date()) and Date()

If your field has a time component then use
= DateAdd("d",-90,Date()) AND < DateAdd("d",1,Date())

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