Lister
Z Shift
- Local time
- Tomorrow, 06:02
- Joined
- Aug 24, 2003
- Messages
- 305
Ok, I have had enough.
I have been haking on this query for three hours.
Let's see what the world has got. [dose it sound like I'm not happy or is it just me]
I have a Date/Time feild that I would like to use as the base of a query. (Field name [PaymentDate])
What I want is a "Criteria" that looks back over the last two months. So what ever the date is I would like it to look back at the last two months.
I have trided Between DateSerial(Year(Date(), Month(Date()-2,1) And DateSerial(Year(Date(), Month(Date(), 31)
Actually I have tried a lot, from DatePate to >Date()-60.
But I’m stumped.
Any help would be great.
Thanks
I have been haking on this query for three hours.
Let's see what the world has got. [dose it sound like I'm not happy or is it just me]
I have a Date/Time feild that I would like to use as the base of a query. (Field name [PaymentDate])
What I want is a "Criteria" that looks back over the last two months. So what ever the date is I would like it to look back at the last two months.
I have trided Between DateSerial(Year(Date(), Month(Date()-2,1) And DateSerial(Year(Date(), Month(Date(), 31)
Actually I have tried a lot, from DatePate to >Date()-60.
But I’m stumped.
Any help would be great.
Thanks