Hoe to Close a NoData Report

  • Thread starter Mike from Moriches
  • Start date
M

Mike from Moriches

I have a form that runs a report if certain conditions are met. If the No
Data event is triggered on the report, I want to Close the report and return
to the form. The DoCmd.Close action in the NoData event produces an error
message "This action cannot be carried while processing a form or report
event." How do I close the report and return to the form that triggered it?
Thanks, Mike from Moriches
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top