Microsoft KB Archive/287450

= ACC2002: Access Quits Unexpectedly When Manipulating Forms and Subforms with OLE Objects =

Article ID: 287450

Article Last Modified on 11/6/2003

-

APPLIES TO


 * Microsoft Access 2002 Standard Edition

-



This article was previously published under Q287450



Moderate: Requires basic macro, coding, and interoperability skills.

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



SYMPTOMS
In Microsoft Access 2002, if you manipulate a main form and a subform in Design and Form views, you may receive the following error message, and then Access quits:

Microsoft Access has encountered a problem and needs to close. We are sorry for the inconvenience.



CAUSE
This behavior can occur when both the main form and subform are open as separate forms, and the main form contains an OLE object.



RESOLUTION
To work around this issue, while you design a main form containing an OLE object, keep its associated subform closed. Similarly, keep the main form closed while you design a subform.



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



Steps to Reproduce the Problem
WARNING: Access quits when you follow these steps. Make sure that you save and close any open work on your computer before proceeding.
 * 1) Start Access and open the sample database Northwind.mdb.
 * 2) Open the Categories form in Form view.
 * 3) Open the Product List form in Form view.
 * 4) Select the Categories form so that it is the active form.
 * 5) On the View menu, click Design View.

The Categories form is switched to Design view.
 * 1) On the View menu, click Form View.

The Categories form is switched back to Form view.

Note that you receive the error message described in the &quot;Symptoms&quot; section, and then Access quits.

Additional query words: pra

Keywords: kberrmsg kbbug kbnofix KB287450

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.