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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Maximize Database

Status
Not open for further replies.

cherrielwy

IS-IT--Management
Jul 30, 2003
27
0
0
MY
HI,


How can i made my database always open in maximize(All the form and report open maxize) and cannot be minimize and restore.Thank You
 
docmd.maximize and then use form event OnResize is one way.

Good LucK!

 
Hi,

Put this line of code behind all of your forms,in the On Open event:

Private Sub Form_Open(Cancel As Integer)
On Error GoTo form_open_Err

DoCmd.Maximize


form_open_Exit:
Exit Sub

form_open_Err:
MsgBox Error$
Resume form_open_Exit
End Sub

Hope this helps!

Gina
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top