Help with a querry

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have tables and queries with date due fields. I want to create a querry
that will tell me when something is due with in x number of days. I want a
pop up box to pop up and tell me to enter a number of days in it. Then the
querry will run and tell me what is then due in that many days. For example,
if I put in 30 days, that the querry will run and list all items due in 30
days. Can someone help me with this.
 
Use a query that has a criterion expression similar to the following for the
date field:

Between Date() And DateAdd("d", CLng([Enter the number of days:]), Date())
 
Ken Snell said:
Use a query that has a criterion expression similar to the following for the
date field:

Between Date() And DateAdd("d", CLng([Enter the number of days:]), Date())


--

Ken Snell
<MS ACCESS MVP>

Ron said:
I have tables and queries with date due fields. I want to create a querry
that will tell me when something is due with in x number of days. I want a
pop up box to pop up and tell me to enter a number of days in it. Then the
querry will run and tell me what is then due in that many days. For example,
if I put in 30 days, that the querry will run and list all items due in 30
days. Can someone help me with this.
 

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

Help Me Fix Min Max Avg Querry 1
Problem with Querry Criteria 2
Data Source 4
Need help on Iff Statement 1
IFF (In A Querry) 2
Querry Criteria 3
partial cell value query by date range? 2
Date Serial Problem 2

Back
Top