Good afternoon, I have a query and on the keying off of the DateCreated I am trying to create a query for a report for the last weeks entries and I am using a WHERE in the sort and in the criteria I have tried these two conditions and neither one will filter out the 6/1/08 record.
Between Date()-Weekday(Date(),1)-"5" And Date()-Weekday(Date(),1)+"1"
Between (Date()-(Weekday(Date())+364)) And (Date()+(7-Weekday(Date())))
Both print out all of the records and 1 record is for 6/1/08 and the 2 are for 7/1/08. Any suggestion as to what I am doing wrong? Thank you in advance for any assistance.
Between Date()-Weekday(Date(),1)-"5" And Date()-Weekday(Date(),1)+"1"
Between (Date()-(Weekday(Date())+364)) And (Date()+(7-Weekday(Date())))
Both print out all of the records and 1 record is for 6/1/08 and the 2 are for 7/1/08. Any suggestion as to what I am doing wrong? Thank you in advance for any assistance.
