Open Form Maximized, Close Minimized

J

JDJones

I have one screen in a database that I want to open in Maximized position.
But when I close the form, everything else wants to be maximized - which I
don't want to happen. So I wrote a macro to maximize OnOpen, and minimize
OnClose. Is this the fix? Will this cause any potential problems? It
briefly minimizes, then seems to close correctly. It's doing what I want.
 
F

fredg

I have one screen in a database that I want to open in Maximized position.
But when I close the form, everything else wants to be maximized - which I
don't want to happen. So I wrote a macro to maximize OnOpen, and minimize
OnClose. Is this the fix? Will this cause any potential problems? It
briefly minimizes, then seems to close correctly. It's doing what I want.

Code the Form's Open event:
DoCmd.Maximize

Code the Form's Close event:
DoCmd.Restore
 
Top