centering subform in a form

smoke

Registered User.
Local time
Yesterday, 21:51
Joined
Sep 2, 2004
Messages
18
is this possible? i want to make sure my form is centered correctly in access, is it possible to center a subform in a form to do this?, and also how would i maximize access automatically when it starts? or do you jsut have to set the windowsize yourself?
 
Set the subform to AutoCenter. To have a form maximize paste the code in Form, Event, Open . . .

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


hth,

Michael
 

Users who are viewing this thread

Back
Top Bottom