how do i specify search criteria for a range

G

Guest

I have figured out how to import data from excell to access. Now i need to
figure out these queries. For exapmle say i want to pull up all data submited
from date range 11/05/2005 to present. How do i set up the querie so that i
can go in and randomly pull data from any date range?
 
F

fredg

I have figured out how to import data from excell to access. Now i need to
figure out these queries. For exapmle say i want to pull up all data submited
from date range 11/05/2005 to present. How do i set up the querie so that i
can go in and randomly pull data from any date range?

As criteria for the DateField, write:
Between [Enter Start Date] and [Enter End Date]

You will be prompted for both dates.
 
A

Allen Browne

fredg's answer is the simplest solution for you.

If you want more details and another alternative, see:
Limiting a Report to a Date Range
at:
http://allenbrowne.com/casu-08.html

--
Allen Browne - Microsoft MVP. Perth, Western Australia.

Reply to group, rather than allenbrowne at mvps dot org.

fredg said:
I have figured out how to import data from excell to access. Now i need
to
figure out these queries. For exapmle say i want to pull up all data
submited
from date range 11/05/2005 to present. How do i set up the querie so
that i
can go in and randomly pull data from any date range?

As criteria for the DateField, write:
Between [Enter Start Date] and [Enter End Date]

You will be prompted for both dates.
 

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

Criteria help 4
Date Criteria Range 1
Date Expressions/Criteria 1
criteria on form 1
criteria date range 3
Date Range in Query using DateAdd 4
Start Date/ End Date query 7
How To Specify No Criteria 2

Top