Maximize opening switchboard

C

Caramilk

Hi,

I have looked through the other question and have found that to have the
switchboard open in a maximized form when opening the database you need to
enter a code into the 'on load' area of the properties of the switchboard.

BUT...where is the 'on load' area.

I have looked in the properties under events and all I see is 'on click' 'on
mouse' etc. but no 'on load'....

am i looking in the wrong spot?

THANKS
 
J

John Welch

You have to make sure the form itself is selected. Look at the top of the
properties box and see what it says. If it says "Section: Detail", or
"command button so and so" then you don't have the form selected. Click in
the little gray square in the upper left of the form to select it.
 
F

fredg

Hi,

I have looked through the other question and have found that to have the
switchboard open in a maximized form when opening the database you need to
enter a code into the 'on load' area of the properties of the switchboard.

BUT...where is the 'on load' area.

I have looked in the properties under events and all I see is 'on click' 'on
mouse' etc. but no 'on load'....

am i looking in the wrong spot?

THANKS

You can use either the Load event or the Open event.
In design view, display the Form's property sheet.
Click on the Event tab.
On the Open (Or Load) event line, write
[Event Procedure]
Then click on the little button with 3 dots that appears on that line.
The Code Window will open with the cursor flashing between 2 already
existing lines of code .

Between those 2 lines, write:

DoCmd.Maximize

Close the window and save the changes.
 
C

Caramilk

THANKS to both of you!!


fredg said:
Hi,

I have looked through the other question and have found that to have the
switchboard open in a maximized form when opening the database you need to
enter a code into the 'on load' area of the properties of the switchboard.

BUT...where is the 'on load' area.

I have looked in the properties under events and all I see is 'on click' 'on
mouse' etc. but no 'on load'....

am i looking in the wrong spot?

THANKS

You can use either the Load event or the Open event.
In design view, display the Form's property sheet.
Click on the Event tab.
On the Open (Or Load) event line, write
[Event Procedure]
Then click on the little button with 3 dots that appears on that line.
The Code Window will open with the cursor flashing between 2 already
existing lines of code .

Between those 2 lines, write:

DoCmd.Maximize

Close the window and save the changes.
 
Top