Hi

I want to ask...

A report is using a query as record source.
That query has parameters [StartDate] and [EndDate].
A command button in a form open that report.
That form contains 2 textbox for date.

How can I pass this 2 textbox as the parameters of the query?

Query:
SELECT * FROM Orders WHERE Orders.[Date/Time] Between [StartDate] And [EndDate]

...