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

Start and End Date on Report

Status
Not open for further replies.

Prufrock

Instructor
Sep 4, 2002
77
AU
Hi,

I have a report which is based on a query. When it is run the user has to enter a Start Date and an End Date to cover the range of the report. How can I get the report to print the start and the end date as typed in by the user when the query runs?

Thanks
 
Hi,
The real simple answer to this is to add two text boxes to the top of your report, and set the ControlSource to something like this:
=[Forms]![frmRunReport]![txtStartDate]
and the other one:
=[Forms]![frmRunReport]![txtEndDate]

Add the necessary labels to show that the user selected this particular range of dates.

HTH, [pc2]
Randy Smith, MCP
rsmith@cta.org
California Teachers Association
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top