full size form?

chris davies

Registered User.
Local time
Today, 12:58
Joined
Mar 20, 2005
Messages
86
I have looked but can't seem to find a method to make my form open at full size. Is this possible, what may I be missing here. Any and all answers gratefully recieved. thank you.
 
In the form's On Open Event you can put:

DoCmd.Maximize

And in the close event use

DoCmd.Restore

if you don't want everything to stay maximized.
 
errm, put DoCmd.Maximize in the on open event, now the form refuses to open arrgh, thank god for back ups lol
 
errm, put DoCmd.Maximize in the on open event, now the form refuses to open arrgh, thank god for back ups lol

It has nothing to do with the code. You don't have to open the form to get to the code. Open a module and navigate to the code on the left in the explorer window in the VBA IDE.

I use DoCmd.Maximize on all of my forms when opening them, so something else is up.
 
It has nothing to do with the code. You don't have to open the form to get to the code. Open a module and navigate to the code on the left in the explorer window in the VBA IDE.

I use DoCmd.Maximize on all of my forms when opening them, so something else is up.
Also, if you post the db I could troubleshoot what the real problem is.
 
Sorry to take so long to reply, have fixed my form. Where exactly do I put the DoCmd.Maximize command? I must have misundertood originally because I tried to put it in the op open event via the form's properties. The Db has grown somewhat in size and is now too large to upload
 
onopen01.png


onopen02.png
 
Hi there,
I found the solution, by creating a new macro and selecting maximise and then naming the macro autoexec, then by calling autoexec on the onload event, which I finally found by right clicking on various parts of the form. The most irksome part was finding where the onload event was situated.
 

Users who are viewing this thread

Back
Top Bottom