Form question

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
 
G

Guest

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
 

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

Similar Threads


Top