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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top