Form question

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

Guest

I have a form for users to input. I also have a command on the form to
display a report in preview form only. Here is the question, after the user
presses the command the report is display on screen. How can I get to
disappear when the user clicks on the "input form" (NOTE: I already have a
menu form that is hidden, so I do not want to clear all forms, just the
report preview form) Thanks
 
Bladelock,

The report preview "form" is not actually a form, it is report displayed in
a preview report. When the user clicks on your input form, use the form's
OnActivate event to close it:

DoCmd.Close acReport, "YourReportName"

Sprinks
 
Back
Top