Maximized on open

  • Thread starter Thread starter Donna Brooks
  • Start date Start date
D

Donna Brooks

Does anyone know how to make a form open maximized? If
you maximize it in design view, it goes back to form view
maximized, but if you close out the program and open it
back up it is not maximized.

Thanks in Advance,
Donna Brooks
 
In the Open event of the form, add the following code:

DoCmd.Maximize
 
On the form open or activate event add the code
docmd.maximize

That should make the form maximize when opened.
 
Hi Donna,

In design view, go to properties, events, then put
=[DoCmd].[Maximize] in the "On Load" field.
If you want it to restore to a smaller size in design
view, put =[DoCmd].[restore] in "On Unload".

Marc
 
Does anyone know how to make a form open maximized? If
you maximize it in design view, it goes back to form view
maximized, but if you close out the program and open it
back up it is not maximized.

Thanks in Advance,
Donna Brooks

In the Form's open use:

Private Sub Form_Open(Cancel As Integer)
DoCmd.Maximize
End Sub

- Jim
 

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