We help IT Professionals succeed at work.

Startup Form to startup Maximum

276 Views
Last Modified: 2012-05-05
Why can't I grasp this. I'm sure it's easy. But . . . .

I have a form set to open at statup of Access 2003 database.  But I want it to open maiximized. It always opens in a window. Why?
Comment
Watch Question

Database Architect / Application Developer
CERTIFIED EXPERT
Top Expert 2007
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION
CERTIFIED EXPERT
Most Valuable Expert 2012
Top Expert 2013

Commented:
Mixmangle,

Add the following code to the open event of your startup form:

Docmd.Maximize
DatabaseMX (Joe Anderson - Microsoft Access MVP)Database Architect / Application Developer
CERTIFIED EXPERT
Top Expert 2007

Commented:
:-)
CERTIFIED EXPERT
Most Valuable Expert 2012
Top Expert 2013

Commented:
Great minds think alike, but MX's thinks faster. :-)

Author

Commented:
Thanks.  I'll try tomorrow.  I know I am getting more and more into the coding . . .and that's a good thing.

But why wouldn't it be somewhere on the properties--.format tab as well?  

"Open--Min.Max, window size"  or something like that.  I was thinking this as just being a basic format property I was missing.

DatabaseMX (Joe Anderson - Microsoft Access MVP)Database Architect / Application Developer
CERTIFIED EXPERT
Top Expert 2007

Commented:
I'm glad it's not in the property sheet, because in 15 year, I have never opened a form maximized. The plurality in Windows ... with an 's' has a meaning ... 'more than one'. Only in Access do people open forms/windows maximized.  No other professional application does this.

My Motto:  Just Say No To Maximizing ...

mx

Author

Commented:
Thanks! That was it. Most of the databases I have are FE/BE with Andy Toews FEUpdater . . . which has a automaximize switch for the ini file.

I kept asking myselt, why haven;t I had to ask this question before.  That's why!

Gain unlimited access to on-demand training courses with an Experts Exchange subscription.

Get Access
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Empower Your Career
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.