Try it.
I don't recommend using parameter queries for anything since parameters provide no defaults or integrity checks. Plus, they pop up one at a time.
Using controls on forms is much more effective.
Duane
MS Access MVP
Find out how to get great answers faq219-2884.
u should probably start a new thread for this question since it's totally unrelated to your first question...
however...
you should include a few more details about this report...
i.e. when u say run report for today, do you mean report to be run with source data from a query based on today's date?
if that's the case, then you can just build a form and on it, have a text box for the date, and a command button to activate the report.
And in your query, use Forms![formName].tbxDate instead of the parameter...
this way, u can have default day set to today, checking date entered is valid...
1) goto form design view
2) draw a command button
3) name your button
4) right click on button, select build event
5) put: docmd.openreport "rptName"
6) goto form view
7) click on button...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.