Open Form Maximized, Close Minimized

G

Guest

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
 

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

Top