Keep form maximized on click

R

reeve13

On the switchboard I created, I noticed when I click on the button t
open a form, the form is minimize and I always have to click th
maximize button to expand it. Is there a way to keep it maximize whe
I open the form for the switchboard?

Thank
 
S

SteveS

To maximize the form, use:


Private Sub Form_Load()
DoCmd.Maximize
End Sub



This maximizes everything, including the database window.
To restore the switchboard to the previous size, use:

Private Sub Form_Close()
DoCmd.Restore
End Sub
 
Top