How to Close a Form from a Report

  • Thread starter Thread starter Joe Cilinceon
  • Start date Start date
J

Joe Cilinceon

I have a main form open and will hit a button to print a report. A couple of
the reports have a pop up form that gets the criteria for the report such as
date span, etc.I would like to shut this sub form down when I close the
report view window. How would I go about this.
 
I have a main form open and will hit a button to print a report. A couple of
the reports have a pop up form that gets the criteria for the report such as
date span, etc.I would like to shut this sub form down when I close the
report view window. How would I go about this.

Code the Report's Close event:
DoCmd.Close acForm, "FormName"
 
Back
Top