How to Close a Form from a Report

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.
 
F

fredg

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"
 

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