Hi Alan,
No not at all, the form is more a "user report dialog" that the user would be presented with, in a general way consider a small form that has say 2 textbox's on it for the user to enter the "start" date and "End" date and a button that calls the report. call this form "AForm" and the textbox for "Start" date "StartDate" and "end" date "EndDate"
i assume that the data source for the report is set to "Aquery" so in "Aquery" instead of having say
date criteria [Enter Start Date] in the "Aquery"
have
the criteria as
[Forms]![AForm]![StartDate]
and for the "end" date
[Forms]![AForm]![EndDate]
this will make the query look for the dates on the "AForm" form.
the button could have the following in the On Click event
DoCmd.OpenReport "YourReportName", A_PREVIEW
' make sure we have focus on the form
Forms![AForm].SetFocus
' close the form
DoCmd.Close
A_PREVIEW previews the report
and A_NORMAL prints the report
now i don't know what sort of application you have but you need to have some way for the user to bring up this form when they want to print the report.
this should get you going ;-)
HTH
[sig]<p>Robert Dwyer<br><a href=mailto:rdwyer@orion-online.com.au>rdwyer@orion-online.com.au</a><br>[/sig]