Need to pull between today's date minus a week???

mrskyun

New member
Local time
Yesterday, 23:28
Joined
Feb 21, 2014
Messages
4
Hi guys,

I am trying to pull between the current date minus a week in my Access query and I do not know what formula to use. Please help???
 
Try the DateAdd() function.
 
I'm sorry how would I use that function?
 
I'd start by looking in help to get the syntax. If you didn't know, you can use the Date() function to get the current date.
 
I know how to get the current date I'm just not sure how to grab a range between the current date and the date 7 days past :S I apologize for my noobness...
 
A criteria of

Between DateAdd(...) And Date()

filling in the DateAdd() arguments of course.
 
Perhaps something like:
Between DateAdd("d",-7, Date()) AND Date()
 
:S I just tried Between DateAdd("d",-7, Date()) AND Date() but it says invalid string... the field that I am trying to write this criteria has dates like "1/1/2014".
 
If the field is text rather than date/time, you'll have issues, and the above wouldn't work.
 

Users who are viewing this thread

Back
Top Bottom