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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Select date - Run Report

Status
Not open for further replies.

TTF

IS-IT--Management
Jan 12, 2005
59
US
I am having a form with a list box where dates should be displayed.
I am Running Report that is suppose to run for Selected in ListBox dates.
What is the best way to do it to insure Report performance? Simple but forever..:)
Also multiply dates selection should be available.

Report is based on table that has Date field or it can be a query that pulls Distinct date to display in ListBox.


Thanks so much
 
Report will be run from Query that Report based on.
So my dilemma is how to let Query know for which dates to run...
 

Just create a query and have the date criteria reference your form criteria. Usually searching between two dates is the way to go using two text boxes or combo boxes.
If searching on one date only, just enter same dates in each box.

So your date field criteria would be:

Between [Forms]![MyFormName]![MyControlName] And [Forms]![MyFormName]![MyControlName]

Mike Dorthick
 
Thanks, it is solved now in a different way because my Access wouldn't react on [Forms]![MyFormName]![MyControlName] I suspect installation screw up...Thanks you
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top