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

Displaying Select Criteria

Status
Not open for further replies.

krispi

MIS
May 16, 2002
281
GB
Mornin' all...

My report is based on a query. In the query, I have added criteria to prompt the user to enter start date and end date, thus selecting only records created between these two dates.

Is there any way I can automatically display the two dates entered by the user in the header of my report?

This is my second day working with reports, so please be gentle with me!
 
Sure,

Add a text box to your report and put the prompts exactly as they appear in the query as its control source, plus a little optional text. So, if your prompts are [Enter Beginning date] and [Enter Ending date], then:
Code:
="For the dates " & [Enter Beginning date] & " to " & [Enter Ending date]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top