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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

this month minus 1 5

Status
Not open for further replies.

sedgely

Technical User
Feb 21, 2002
406
GB
I am setting up a query to run on the first day of each month, what i want it to do is to return records where the date is within the previous month. I've figured out that i need to firstly work out the month part of todays date and then to return all records where the date is "month - 1". but i can't figure out how to actually do it, any suggestions anyone?

Cheers
Craig
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top