Date query

  • Thread starter Thread starter snappl3
  • Start date Start date
S

snappl3

I need to get a query to pull from my database any date 6 months or less into
the future (ex. The query would pull up any orders which have a date of
10/2/08 or sooner). Any help would be greatly appreciated. Thanks!!
 
For criteria on your date field use this ---
<= DateAdd("m", 6, Date())
 
Put in the date criteria of your query Between 4/3/2008 and 10/2/2008.
 
I need to get a query to pull from my database any date 6 months or less into
the future (ex. The query would pull up any orders which have a date of
10/2/08 or sooner). Any help would be greatly appreciated. Thanks!!


As criteria on the date field, write:
Between Date() and DateAdd("m",6,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


Back
Top