Rolling dates.

  • Thread starter Thread starter Floyd Forbes
  • Start date Start date
F

Floyd Forbes

Hi , I have a query base on a table with a vacation field and a date field.
If I'm starting
vacation 1/24/2005 how could I put in the next four days by using a query?
Instead of
typing the next fours days, can I automatically input the next four days
pressing 4 in a
query?

Floyd
 
Hi , I have a query base on a table with a vacation field and a date field.
If I'm starting
vacation 1/24/2005 how could I put in the next four days by using a query?
Instead of
typing the next fours days, can I automatically input the next four days
pressing 4 in a
query?

Floyd

Try

BETWEEN [Enter start date:] AND DateAdd("d", [Length of vacation:],
[Enter start date:])

John W. Vinson[MVP]
 

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

Back
Top