Dateadd function

  • Thread starter na via AccessMonster.com
  • Start date
N

na via AccessMonster.com

I am trying to have the user see so many days in advance. The user has to
enter the amount of days she/he wants to see ahead. Can anyone help me with
this?


Right now I have the query set to where it only displays 15 syas from
todays date, however I want that part to change to where the user can
specify the days.

WHERE (((Customer.[Next Svc]) Between Date() And DateAdd("d",15,Date())));
 
D

Duane Hookom

Try:
WHERE (((Customer.[Next Svc]) Between Date() And DateAdd("d",[Enter Number
of Days],Date())));
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

DateAdd 2
Help with small result type 2
DateAdd Function 9
query on date 1
DateAdd Working Day Query 7
Date Range Issue 3
between date and dateadd query 6
Calculated Field in Query - Date Format 5

Top