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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

minimize a form on click event

Status
Not open for further replies.

sdimaggio

Technical User
Jan 23, 2002
138
US
I have a print dialog form named "frm_print" it produces a report when I click a button.

I am trying to get the form "frm_print" to minimize after the report opens since it stays on top of the report when it opens and gets in the way.

What is the code that I need to put at the end of the click event button?

thanks
 
You can use DoCmd.Minimize
You have to do this before you open the report, otherwise the report will minimize.
There are two ways to write error-free programs; only the third one works.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top