Form Sizing Problem

quest4

Registered User.
Local time
Today, 18:56
Joined
Oct 12, 2004
Messages
246
Good afternoon, I have a form from the Switchboard and when ever I click on a command button and go into a form everything is maximizing all right, but when I close the form, DoCmd.Close, the form I am using for the switchboard appears normal and not maximized. I have DoCmd.maximize only in OnOpen, but I have tried adding a second one on just about every event. My question is where should I be putting DoCmd.maximize to get the switchboard always maximized? Thanks in advance for any help.:confused:
 
The easiest way to go about this is to create a macro named Autoexec.
In the macro, select the choice Maximize.
A macro named Autoexec will run automatically everytime you open the database. Everything in your database will be maximized to full screen.
 
Thanks for the help statsman. I created the Autoexec macro and from what you are saying, I don't have to put it anywhere, like startup and anything, is that correct?
 
I tried that Autoexec ideaa and nothing at all. So I added a message box and the message does appear, but when I close a form, the switchboard form goes to normal size instead of maximum. Like if hav esaid I did they DoCmd.maximum in several event, but nothing appears to work and it should, or at least I think so.
 

Users who are viewing this thread

Back
Top Bottom