maximize main window by code

  • Thread starter Thread starter mezzanine1974
  • Start date Start date
M

mezzanine1974

I searched the group to find out how i can make window state MAX by
code, while window opening at the very beginnig.
Common solution is to write the code below in Open Event of main form.
DoCmd.RunCommand acCmdAppMaximize

It is not working! Do you have any other suggestion?
 
Docmd.Maximize
The code you are trying to use is out of date.
Also, use the Activate event rather than the Load event. This is so that if
the user moves to another form, report, or whatever and returns to the form
it will maximize again.
 
Docmd.Maximize
The code you are trying to use is out of date.
Also, use the Activate event rather than the Load event. This is so that if
the user moves to another form, report, or whatever and returns to the form
it will maximize again.
--
Dave Hargis, Microsoft Access MVP






- Show quoted text -

GREAT !! it is working .
thanks
 
Back
Top