Microsoft Knowledge Base Email Alertz

Forms always open to a maximized state after any other Microsoft Access window has been maximized (excluding the Microsoft Access Database window). However, when a Microsoft Access window is maximized, forms may briefly be displayed in a restored

Search KbAlertz

Advanced Search

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]











Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks

Article ID: 208476 - Last Review: June 29, 2004 - Revision: 2.0

ACC2000: Maximized Forms First Appear As Restored

This article was previously published under Q208476
Novice: Requires knowledge of the user interface on single-user computers.

This article applies to a Microsoft Access database (.mdb) and to a Microsoft Access project (.adp).

On This Page

SYMPTOMS

Forms always open to a maximized state after any other Microsoft Access window has been maximized (excluding the Microsoft Access Database window). However, when a Microsoft Access window is maximized, forms may briefly be displayed in a restored state when they are first opened, instead of immediately opening as maximized. This behavior varies, based on the setting of the MinMaxButtons property of the form.

RESOLUTION

To work around this behavior, set the MinMaxButtons property to Max Enabled or to Both Enabled.

You can also follow these steps if you want to use the None or Min Enabled settings instead:
  1. Start Microsoft Access, and then open any database.
  2. In the Database window, under Objects, click Macros, and then click New.
  3. In the Macro dialog box, type Echo as the first action.
  4. Under Action Arguments, in the Echo On box, select No.
  5. Type OpenForm as the second action.
  6. Under Action Arguments in the Form Name box, type the name of the form that will open maximized.
  7. Type Echo as the third action.
  8. Under Action Arguments, in the Echo On box, select Yes.
  9. Save, and then run the macro.
This macro displays only the final results of the actions and not any intermediate steps, such as a form opening in the restored state before it is maximized.

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

MORE INFORMATION

When you set the MinMaxButtons property of a form to either None or Min Enabled, the form does not open immediately to a maximized state. Instead, the form opens momentarily to a restored state before it is maximized.

Steps to Reproduce Problem

  1. Open the sample database Northwind.mdb.
  2. Maximize the Database window.
  3. Under Objects, click Forms, click Products, and then click Design.
  4. If the property sheet is not open, click Properties on the View menu.
  5. Click the Format tab on the property sheet, and then locate the MinMaxButtons property.
  6. Set the MinMaxButtons property to either None or Min Enabled.
  7. Click Form View on the View menu, and note that any Microsoft Access window (the Database window, the Products form, and so on) briefly restores before the Products form is maximized.

    NOTE: This behavior may not be obvious on faster computers.

REFERENCES

For more information about creating a macro, click Microsoft Access Help on the Help menu, type create a macro in the Office Assistant or the Answer Wizard, and then click Search to view the topic.

APPLIES TO
  • Microsoft Access 2000 Standard Edition
Keywords: 
kbbug KB208476
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate