ACC2002: Access Quits Unexpectedly When Manipulating Forms and Subforms with OLE Objects (287450)



The information in this article applies to:

  • Microsoft Access 2002

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.

MORE INFORMATION

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.
  6. 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 "Symptoms" section, and then Access quits.

Modification Type:MajorLast Reviewed:11/6/2003
Keywords:kbbug kberrmsg kbnofix KB287450