Auto - Fullscreen on Open

JVermast

Registered User.
Local time
Today, 04:54
Joined
Jun 15, 2005
Messages
70
Is there any way to make a form auto maximize on opening? I can't seem to find anything on this subject.

Thanks.
 
In the Event Property On Open place this code

DoCmd.Maximize

This will open your form full screen.

and in the Event Property On Close place this code

DoCmd.Restore

this will reverse the first code

hope this helps
 
DoCmd.Maximize when placed in the "On Open" Event field of the form gives me the error "Microsoft cannot find the Macro 'DoCmd'"
 
You need to erase that out and then select the ellipsis (...)(sp?) to open the 'vba code' window. The enter the docmd.maximize :D

Edit: Or just do a seperate macro with the 'Maximize' command in it and call it on the on open event!
 
Last edited:

Users who are viewing this thread

Back
Top Bottom