DateAdd

brin

Registered User.
Local time
Today, 18:53
Joined
Nov 14, 2001
Messages
41
I want to find some data in the past by using the date add function but i don't want to just use static numbers i.e >=DateAdd("d", -30, Date()). Is it possible to run the query then input the days required for the search?
 
You could just do this:

>=DateAdd("d", -[Enter Number Of Days], Date())

That way you'll be prompted to put the number of days in.
 
brin said:
I want to find some data in the past by using the date add function but i don't want to just use static numbers i.e >=DateAdd("d", -30, Date()). Is it possible to run the query then input the days required for the search?

Thank You Milo!
 

Users who are viewing this thread

Back
Top Bottom