By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
425,882 Members | 928 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 425,882 IT Pros & Developers. It's quick & easy.

Switchboard form

P: n/a
Hey all,

Thi question may be simple to most people on this group, but I'm a
newbie and can't figure this out. I have created a switchboard form and
I've been able to display it on startup of Access. However, I can't get
it to start up Maximized. I tried to look through the Form's
properties, yet no luck. Any help would be appreciated.

Thanks!

Jan 19 '07 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Haas:

In the On Open event of the Form (found in the properties of the form
on the Event tab) put your cursor in the box and click the [...] button
to the right of the On Open box. Choose Code Builder. It will take
you to the Class Module for your form and pop your cursor right where
you need it.

Put this line in:
DoCmd.Maximize

Then click on Debug, then Compile Loaded Modules. Close the Class
Module, save your form and then reopen it. It should open up
maximized.

HTH,
Jana

Haas C wrote:
Hey all,

Thi question may be simple to most people on this group, but I'm a
newbie and can't figure this out. I have created a switchboard form and
I've been able to display it on startup of Access. However, I can't get
it to start up Maximized. I tried to look through the Form's
properties, yet no luck. Any help would be appreciated.

Thanks!
Jan 19 '07 #2

P: n/a
On 19 Jan 2007 10:22:52 -0800, Haas C wrote:
Hey all,

Thi question may be simple to most people on this group, but I'm a
newbie and can't figure this out. I have created a switchboard form and
I've been able to display it on startup of Access. However, I can't get
it to start up Maximized. I tried to look through the Form's
properties, yet no luck. Any help would be appreciated.

Thanks!
There is no maximize property.
You have to code the Switchboard form's Open event.
Here's how.

Display the switchboard's property sheet.
Click on the Event tab.
On the Open event line, write:
[Event Procedure]
Then click on the little button with the 3 dots that appears on that
line.
When the code window opens, the cursor will be flashing between 2
already existing lines of code.
Between those 2 lines, write:

DoCmd.Maximize

Close the code window.
Open the Switchboard.

--
Fred
Please respond only to this newsgroup.
I do not reply to personal e-mail
Jan 19 '07 #3

P: n/a
Thank you all for the very helpful advice!

Haas

On Jan 19, 1:58 pm, fredg <fgutk...@example.invalidwrote:
On 19 Jan 2007 10:22:52 -0800, Haas C wrote:
Hey all,
Thi question may be simple to most people on this group, but I'm a
newbie and can't figure this out. I have created a switchboard form and
I've been able to display it on startup of Access. However, I can't get
it to start up Maximized. I tried to look through the Form's
properties, yet no luck. Any help would be appreciated.
Thanks!There is no maximize property.
You have to code the Switchboard form's Open event.
Here's how.

Display the switchboard's property sheet.
Click on the Event tab.
On the Open event line, write:
[Event Procedure]
Then click on the little button with the 3 dots that appears on that
line.
When the code window opens, the cursor will be flashing between 2
already existing lines of code.
Between those 2 lines, write:

DoCmd.Maximize

Close the code window.
Open the Switchboard.

--
Fred
Please respond only to this newsgroup.
I do not reply to personal e-mail
Jan 24 '07 #4

This discussion thread is closed

Replies have been disabled for this discussion.