Between [Type a beginning date] And [Type an ending date]
and you want to display them in two text boxes, set the ControlSource property of one text box to:
[Type a beginning date]
and the ControlSource property of the other text box to:
[Type an ending date]
If you want to display both parameters in one text box, you can use an expression in the ControlSource property box; for example:
="Between " & [Type a beginning date] & " and " & [Type an ending date]
@Beginning_date datetime = [Beginning Date], @Ending_date datetime = [Ending Date]
Then set the ControlSource property of the control to a string that specifies the parameters in the stored procedure, any text you want to include, and the prompt text enclosed in square brackets as shown in the following example:
="Sales from "& [Beginning Date] &" to "& [Ending Date]
Note The Employee Sales by Country report in the Northwind sample database prints the criteria in the report header. To view this report, open the Northwind database in the Samples subfolder of your Office folder, and then open the Alphabetical List of Products report in Design view. For information on opening Northwind, click .