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!

What is the best way to display from to dates (from a param query)

Status
Not open for further replies.

jeep2001

Programmer
Dec 15, 2005
134
0
0
US
I need to bring in a from to date to display on a report.
I have done this before, but I don't remember what I did.
What is the best way to do this.
 
jeeep2001,

If you are generating the report from a query, then just repeat the parameter (exactly) in a text box on the form and set Control Source: =[Repeat your from parameter here exactly including the square brackets]. Like wise for end date. I usually add the from and to as labels on the report in between.

If the date ranges are entered in a form, then set the control sources in each of the report textbox, mentioned above, to : = Forms!frmMyFormName!MyTextboxName etc.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top