Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Minimize a Report

Status
Not open for further replies.

jamminjaymeyer

Programmer
May 23, 2001
88
US
Hey,

Is there any way to stop the user from minimizing or restoring the print preview window? I have a custom menu bar with only the buttons they need, but people still minimize the report and go back to the forms and it messes things up.

Any ideas?
 
I don't know if this is the most efficient method but you can create an event like the following using the on deactivate event for the report. This will close the report in the event a user clicks on something other than the report...

Private Sub Report_Deactivate()
DoCmd.Close
End Sub
Trisha
padinka@yahoo.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top