Set a form to open in maxmized window

R

Rod

I have a database where I have the main switchboard
opening upon opening the database. I want the this form
to open in a maximized view upon opening (by default). I
tried using the docmd.maximize but it then stays
maximized when I use the switchboard to open open other
forms or reports.

Do I need a docmd.restore somewhere...and where...or am I
going down the wrong path.

Thanks,
Rod
 
W

Wayne Morgan

Once you maximize a child window, Access will maximize all child windows
until you do a restore on one of them, then all of them will be restored.
You can put a DoCmd.Restore in the open event of the other forms and reports
and a DoCmd.Maximize in their close event so that the switchboard will be
maximized when the form/report closes.
 

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