AllExperts > Using MS Access 
Search      
Using MS Access
Volunteer
Answers to thousands of questions
 Home · More Using MS Access Questions · Answer Library  · Encyclopedia ·
More Using MS Access Answers
Question Library

Ask a question about Using MS Access
Volunteer
Experts of the Month
Expert Login

Awards

About Us
Tell friends
Link to Us
Disclaimer

 
 
 
 
About Scottgem
Expertise
I can answer almost all types of questions relating to Microsoft Access usage and application design. My strengths are database and interface design.

Experience
I've been designing databases for over 15 years working with dBase, FoxPro, Approach and Access.

Organizations
Author of Microsoft Office Access 2007 VBA
Techncial Editor for Special Edition Using Microsoft Access 2007 and Access 2007 Forms, Reports & Queries From Que Publishing

 
   

You are here:  Experts > Computing/Technology > Business Software > Using MS Access > Maximizing form

Using MS Access - Maximizing form


Expert: Scottgem - 7/1/2009

Question
To begin, I'm using Access 07 and for my database I set the Document Windows option to Overlapping windows.

I have my main form set to maximize upon opening (DoCmd.Maximize on the form's On Open event). However, I've found that when I click on a cmd button that opens another form and that form's Pop Up property = No (but it's modal property = Yes) it is maximized also, which I don't want. Why is that happening? I only want my main form maximized, not any other form.

Answer
This is a quirk in Access. When you maximize one form, all subsequent forms open maximized. If you Restore or Minimize a form, all forms are restored. That's why the Tabbed documents is a better choice for Access 2007, since it allows you to see all the open documents.

The best solution I can suggest is to try and size the main form so it fills the screen. This may mean detecting the resolution the monitor is set for and resizing the form accordingly. This way the main form is not in the maximized state but covers the screen.

Hope this helps,
Scott<>
Microsoft Access MVP 2007
Author: Microsoft Office Access 2007 VBA  

Add to this Answer   Ask a Question


 
User Agreement | Privacy Policy | Kids' Privacy Policy | Help
Copyright  © 2008 About, Inc. AllExperts, AllExperts.com, and About.com are registered trademarks of About, Inc. All rights reserved.