G
Guest
Hello,
I am fairly new to access, so I am hoping someone can help.
I have created a report and in the reports On Open event, I have a macro
that opens a form to enter the query criteria for that report.
When I enter the criteria in the form and click the OK command button the
report runs fine. What I need is a cancel button that will stop the query
and report from running, and close the form. I have created a macro to close
the form but once the form closes it still prompts me for the criteria for
the query.
How do I close the form and cancel the query and report?
Thanks,
Angie
I am fairly new to access, so I am hoping someone can help.
I have created a report and in the reports On Open event, I have a macro
that opens a form to enter the query criteria for that report.
When I enter the criteria in the form and click the OK command button the
report runs fine. What I need is a cancel button that will stop the query
and report from running, and close the form. I have created a macro to close
the form but once the form closes it still prompts me for the criteria for
the query.
How do I close the form and cancel the query and report?
Thanks,
Angie