Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can I Maximize form upon opening? 1

Status
Not open for further replies.

Dedicated

Programmer
Dec 26, 2003
38
US
Objective: Maximize page size on switchboard. I know I have to go to Form Properites -->Event -->On Open and then add my Macro in order to maximize my form when opening. However, if I cannot use my macro due to system contraints, is there another way to maximize your form upon opening?
 
Are you talking about in the properties dialog box under Event, On Open? I did this and it was looking for the macro. Would not execute........
 
Go to 'Code Builder' from the ... option when adding an event.
Should end up here:
Code:
Private Sub Form_Open(Cancel As Integer)

End Sub
Insert the "DoCmd.Maximize"
Code:
Private Sub Form_Open(Cancel As Integer)
    DoCmd.Maximize
End Sub

traingamer
 
You are WONDERUFL!!!!! The entire team would like to thank you for assisting us.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top