maximize main window by code

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?
 
K

Klatuu

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.
 
M

mezzanine1974

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
 
Top