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!

Filter 6 months with end date of the end of the last full month

Status
Not open for further replies.

ali32uk

Technical User
Mar 31, 2011
22
GB
Hi

I m using the following as criteria in my query

Between DateAdd("m",-12,Date()) And DateAdd("m",-6,Date())

which works great but does nt quite do what i m looking for. this takes from the current date, ideally what i want is from the last full month, i.e. today is 28th July, so it filters both of the above from the end of last month 30th June

If any one can help it would be much appreciated

BR

Ali
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top