Hello All,
I am trying to filter the dates in a Query so that only dates for the current week and dates that are older than the current week are returned. I haven't had much luck and I would appreciate your suggestions.
Hello All,
I am trying to filter the dates in a Query so that only dates for the current week and dates that are older than the current week are returned. I haven't had much luck and I would appreciate your suggestions.
Try this criteria:
Code:<=Date()+7-Weekday(Date())
Perfect, thanks JoeM. I was trying all of these elaborate combinations using DatePart function but this is exactly what I needed.
David
You are welcome. Note. If you dates have a time component to them that is not zero, you will need to alter it a bit to:
Code:<Date()+8-Weekday(Date())