ACC97: Inconsistent Object Selected in DB Window After Delete

Last reviewed: May 21, 1997
Article ID: Q165143
The information in this article applies to:
  • Microsoft Access 97

SYMPTOMS

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

After you delete an object from the Database window, the object that is selected next seems random and inconsistent. For example, when you delete a form, the form that is selected next is not necessarily the form that appears immediately before or after the one you deleted.

CAUSE

After you delete an object from the Database window, Microsoft Access recreates an unsorted list of the remaining objects of that same type, and automatically selects the first item on the list. The selected item might be any of the remaining objects on the same tab in the Database window.

STATUS

This behavior is by design.

MORE INFORMATION

Steps to Reproduce Behavior

  1. Start Microsoft Access and open the sample database Northwind.mdb.

  2. Click the Forms tab in the Database window, and select the Customers form.

  3. On the Edit menu, click Copy.

  4. On the Edit menu, click Paste.

  5. In the Paste As dialog box, type frmDelete1, and then click OK.

  6. Repeat steps 4 and 5 to create two more forms: frmDelete2 and frmDelete3.

  7. Select frmDelete2, and then click Delete on the Edit menu. Click Yes when prompted if you want to delete the form.

Note that the selected form in the Database window is something other than frmDelete1 or frmDelete3.

REFERENCES

For more information about how Microsoft Access deletes objects, please see the following article in the Microsoft Knowledge Base:

   ARTICLE-ID: Q90129
   TITLE     : ACC: How Microsoft Access Deletes Objects from a Database


Additional query words: select highlight cursor
Keywords : kbui UifDbwin
Version : 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 21, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.