Form Open in Full View

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have several forms, and i would like to have it displayed in the main
window everytime a form is open, it is opened in full view to strech the
entire window. Is this possible?
 
from Rainbow01 Hong Kong

on each form's OnOpen Event:
Docmd.Maximize

"davidpkohne" 來函:
 
I have several forms, and i would like to have it displayed in the main
window everytime a form is open, it is opened in full view to strech the
entire window. Is this possible?

Open the Form in design view; view its Properties; and click the ...
icon by the form's Open event on the Events tab. Choose Code Builder
and edit the code to read:

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

John W. Vinson[MVP]
 
Back
Top