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

Start Up Switchboard Maximized

P: 18
Hello,

This should be simple but I could not figure it out!
I need my switchboard page to start up maximized so user cannot see other database item, which preferably are minimized. I could not find the option in the Tools/startup.

Many thanks for help.
Nour
Dec 9 '08 #1
Share this Question
Share on Google+
4 Replies


ADezii
Expert 5K+
P: 8,623
In the Open() Event of the Form you want Maximized, place the following code:
Expand|Select|Wrap|Line Numbers
  1. Private Sub Form_Open(Cancel As Integer)
  2.   DoCmd.Maximize
  3. End Sub
Dec 9 '08 #2

missinglinq
Expert 2.5K+
P: 3,532
Just be aware that after doing that, all your forms will open maximized! To avoid this (assuming you want to) use this code in subsequent forms
Expand|Select|Wrap|Line Numbers
  1. Private Sub Form_Load()
  2.   DoCmd.Restore
  3. End Sub
This will cause the subsequent forms to open as you've sized them originally.

Linq ;0)>
Dec 9 '08 #3

P: 18
Thank you... Thank you... Thank you.......
Dec 11 '08 #4

missinglinq
Expert 2.5K+
P: 3,532
Glad we could help!

Linq ;0)>
Dec 11 '08 #5

Post your reply

Sign in to post your reply or Sign up for a free account.