ACC: Cannot Open Datasheet as a Pop-Up or Modal Form (95/97)

Last reviewed: May 12, 1997
Article ID: Q142539
The information in this article applies to:
  • Microsoft Access versions 7.0, 97

SYMPTOMS

Novice: Requires knowledge of the user interface on single-user computers.

A form with its DefaultView property set to Datasheet and its Modal and PopUp properties set to Yes does not open with all three properties applied.

In Microsoft Access 97, the form opens in Datasheet view, but the Modal and PopUp property settings are ignored.

In Microsoft Access 7.0, the form opens as a pop-up form in Form view, but the DefaultView and Modal property settings are ignored.

CAUSE

Only forms that open in Form view can be modal and pop-up. This is by design.

RESOLUTION

If you need to have a form in Datasheet view be displayed as a modal or pop-up form, consider placing the datasheet form as a subform in an unbound main form. The main form can be displayed in Form view as a modal or pop-up form. This also gives you the ability to add other features to your form, such as a Close command button, that you could not add otherwise.

MORE INFORMATION

Steps to Reproduce Behavior

  1. Open the sample database Northwind.mdb.

  2. Open the Customers form in Design view and set the following properties:

          DefaultView: Datasheet
          Modal: Yes
          PopUp: Yes
    

  3. Close and save the form.

  4. In the Database window, click the Customers form, and then click Open. Note that you see the results described earlier.

REFERENCES

For more information about form properties, search for "properties, forms and subforms" using the Microsoft Access 97 Help Index.


Keywords : FmsProp kbusage
Version : 7.0 97
Platform : WINDOWS
Hardware : X86
Issue type : kbprb
Resolution Type : Info_Provided


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: May 12, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.