Question:
How can I do a Query in ACCESS over a date range ?
hyearwood
2009-07-29 17:40:31 UTC
I am working on an Access database for work. I have never used it or any other relational database before and no one else at work has either.

I need to do a query that looks at orders over a date range and want to have the query ask for the dates when it is run.

How can I do this?
Three answers:
Ben Beitler
2009-07-30 10:51:15 UTC
How can I do a Query in ACCESS over a date range?



You need a parameter query to prompt for two dates (beginning and end date) as the range.



In the criteria, you can set specify for the date field the following:



Between [Enter start date:] And [Enter End Date:]



Two prompt in the above order will require to valid and chronological dates to be entered typically in the format as dd/mm/yyyy.



See my article on Parameter Queries: http://www.about-access-databases.com/parameter-query.html



Also take a loom at setting criteria (date range) at http://www.about-access-databases.com/query-criteria.html



Hope this helped
2016-10-04 13:40:10 UTC
Access Query Between Dates
2015-08-07 12:10:11 UTC
This Site Might Help You.



RE:

How can I do a Query in ACCESS over a date range ?

I am working on an Access database for work. I have never used it or any other relational database before and no one else at work has either.



I need to do a query that looks at orders over a date range and want to have the query ask for the dates when it is run.



How can I do this?


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...