Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Query showing records for 3 months from today

Status
Not open for further replies.

Mike030882

Technical User
Apr 12, 2005
5
GB
Hi, I have a table of records, for which one field is a date. i want a query that shows records for which the date is within the last three months from the current date. how do i do this?

thanks, mike
 
When in Query grid, in the criteria cell of your date field:
Between DateAdd("m", -3, Date()) And Date()

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top