Closing a report

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a report that is modified through the use of a form. After the user
makes his selections on the form the saved report is modified and presented
to the user to preview.

After the user closes the report I DO NOT want him to save the modified
report.

How can I close the rport without the system message appearing, which asks
if the user wants to save the report?
 
Miaplacidus,

After you have modified the saved report, save it
(docmd.save). The modified report is now saved and
shouldn't prompt the user.

HTH,

Terry
 
I don't want to save the modified report. I want to close the report without
saving, and without the warning.
 
Not sure of the form/routine you're using to modify the results of the the
report. However, the first thing that comes to mind is simply turning off
the default system messages and forcing the close (without saving), using
code in the OnClose property of the report itself.
 
Back
Top