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!

Capturing query criteria used in a report

Status
Not open for further replies.

hallm

Programmer
Jun 11, 2000
159
US
I'm using criteria in a query to capture a data span.

Between [Type the beginning date:] And [Type the ending date:]

I'm using this query for the data on my report, so that when you run the report it prompts you for the dates then brings up the report.

How can I capture those dates for use on my report?

Example This report contains data from begdate to enddate.

Marion
 
Add a text box with a control source of:
="This report contains data from " & [Type the beginning date:] & " to " & [Type the ending date:]


Duane
MS Access MVP
[green]Ask a great question, get a great answer.[/green]
[red]Ask a vague question, get a vague answer.[/red]
[green]Find out how to get great answers faq219-2884.[/green]
[blue]Ask me about my grandson, get a grand answer.[/blue]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top