Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Being able to type in a date range and bring up a report for it

Status
Not open for further replies.

morristk

IS-IT--Management
Apr 30, 2004
9
0
0
I'm doing a database which is going to hold different events throughout the year and I need to be able to bring up any range of dates in a report, and have the events in that date range listed. Any ideas on how I would go about doing this? Please make it idiot proof, as I am not extremely familiar with access to this extent.

Thanks!

Lauren
 
Create a parameter query based on the table with start date as one parameter and the end date as the other.

The SQL statement would look something like this -

Select * from tblNAME WHERE tblNAME.EventDate BETWEEN [Input Start Date] AND [Input End Date];

Hope that helps.

BusMgr
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top