Hello:
I am using a form to collect parmeters for my report. I have a cancel button on my form, and when I click it I would like the report to close. In the click event I am using DoCmd.Close to close the form, and then I am trying to use a DoCmd.Close to close the report as well. When I try this I get an error message that the report can't be closed because it is still processing. How to I halt the processing at this point and close the report?
TIA.
Holly
I am using a form to collect parmeters for my report. I have a cancel button on my form, and when I click it I would like the report to close. In the click event I am using DoCmd.Close to close the form, and then I am trying to use a DoCmd.Close to close the report as well. When I try this I get an error message that the report can't be closed because it is still processing. How to I halt the processing at this point and close the report?
TIA.
Holly