HELP!!! Problem at opening forms

  • Thread starter Thread starter Chris
  • Start date Start date
C

Chris

I have a problem. I designed some forms, and when I want to open them, they
appear in normal window. How can I open them maximized ? (it's about the
form specified in the startup properties of the database and the forms I
want to open using the command buttons)
 
Put the following code in the Form's Load event:

Private Sub Form_Load()
DoCmd.Maximize
End Sub
 
Thank you very much!

But how do I must proceed for the form I am opening from the
Tools-->Startup menu specified at :"Display Form/Page:" ?
 
excuse my moderate English

open the form in design mode
view the properties of the form
goto the tab "events"
pick the event on load
build an event by pressing on the triple dots ...
chose programcode

then the vba-editor should open up & put your curson
between

Private Sub Form_Load()

End Sub

now add docmd.maximize

& save

!! depending on what you want, you can also add the code
on form_open
 
Back
Top