Hello Access Community,
I am trying to create a criteria that returns records in the date range of last month and the 11 months before it.
Here is my attempt: Between DateSerial(year(DateAdd("y",-1,Date())),Month(Date()),1) and DateSerial(year(Date()),month(DateAdd("m",-1,Date())),30)
The two sections work independently. However, when I tie them together with "Between" and "And," it doesn't work.
Is there a better way to get records in this date range?
Thanks!