Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using the Cancel button on my parameter from to close the report

Status
Not open for further replies.

hpl2001

Programmer
Dec 18, 2001
105
CA
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top