Automaximize form

  • Thread starter Thread starter Neil
  • Start date Start date
N

Neil

Upon opening a database, I would like for a form to be automatically
maximised so that it covers the whole workspace.

How do I autorun this on opening the database? I know I need the do.cmd, but
what would be the complete code and how do I insert this?

Thanks.

PS: The form is called, frmMain
 
Neil said:
Upon opening a database, I would like for a form to be automatically
maximised so that it covers the whole workspace.

How do I autorun this on opening the database? I know I need the
do.cmd, but what would be the complete code and how do I insert this?

In the Open Event of the form...
DoCmd.Maximize

In Tools - Startup you can specify which form you want to automatically open
when the file is opened.
 

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

Back
Top