Are you opening the report by use of the form (e.g. there is a button on the form for this) or are you opening it from the nav pane where all the query/table/report objects might be listed? You should be using a form to do what Vlad suggests. On the form:
- add 2 textboxes; one for FROM date and one for TO date. If on the forms property sheet, Format tab you set the Format to Date you can make use of the date picker for these 2 controls
- your form also has a button for opening this, and I suppose any other report that might be listed on it
- your button code should check that there is a value in each box, that the values are dates, and that FROM is not later than TO.
Let us know when you get that far, and post the names of your date controls.
The more we hear silence, the more we begin to think about our value in this universe.
Paraphrase of Professor Brian Cox.