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.
 
Back
Top