date range query

G

Greg

i have a query looking for data between two date ranges
eg all data between 1/3/04 and 31/3/04 being 1 month
i am currently usin the following query critera
in the date feild = between [startdate] and [enddate]
the above works but its sending me all data that starts
with the first and last number but in ANY month eg
1/1/04
1/2/04
1/3/04
all dates between 1 and 30 with all months
30/1/04
30/2/04
30/3/04

i only wont date between 1/3/04 and 30/3/04

can anyone help...
..
 
A

Allen Browne

Greg, there are three cases where Access is likely to misunderstand our
dd/mm/yy date format, and therefore appear to give the wrong data.

For details on how to avoid these problems, see:
International Date Formats in Access
at:
http://allenbrowne.com/ser-36.html
The article comes out of 13 years experience using Access here in Oz.
 

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

Top