Hoe to Close a NoData Report

  • Thread starter Thread starter Mike from Moriches
  • Start date 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
 
Back
Top