open frm maximized

  • Thread starter Thread starter nydia
  • Start date Start date
N

nydia

when i click to open a specific form, it doesnt open
maximized. how can i get it to open maximized all the time?
 
Nydia,

You can use the following VBA code in the Open event of your form:

DoCmd.Maximize

hth,
 
nydia said:
when i click to open a specific form, it doesnt open
maximized. how can i get it to open maximized all the time?

Open the form in Design view.
From the View menu, choose Properties.
Select the tab Events.
At onLoad, select [Event Procedure].
Click the button with the three dots next to this.
In the code module, type
docmd.maximize
Close and save as appropriate.
 
you can place the following code in the on open event...


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


Hope that helps,

Rick
 
Back
Top