Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

The Name AutoCorrect feature does not work after you convert an earlier version of the Access database to the Access 2002 format or to the Access 2000 format


View products that this article applies to.

Symptoms

Consider the following scenario:
  • You open an earlier version of the Access database in Microsoft Access 2002 or in Microsoft Access 2000.
  • You convert the database to the Access 2002 format or to the Access 2000 format.
  • You enable the Name AutoCorrect feature for the database.
In this scenario, the Name AutoCorrect feature does not work. When you change the name of an object or of a field, the names that are referenced in other objects are not changed automatically.

Note This issue also occurs when you try to import Access 2002 objects to an Access 2002 database.

↑ Back to the top


Cause

This issue occurs because earlier versions of Access do not have the Name AutoCorrect feature. To track the name of an object or of a field, each object should contain the necessary additional information about the field or record source. This additional information is called a name map. A name map is not created for tables, queries, forms, or reports that are converted from an earlier version of the Access database. Therefore, the Name AutoCorrect feature does not work.

↑ Back to the top


Resolution

To resolve this issue, you must manually create a name map for each object in the database that is converted from an earlier version of the Access database. To do this, follow these steps:
  1. In Access 2002 or in Access 2000, open the database.
  2. On the Tools menu, click Options.
  3. Click the General tab.
  4. Click to select the Track name AutoCorrect info check box and the Perform name AutoCorrect check box, and then click OK
  5. For the following objects, click Design to open a design view, and then click Save. Do this for each object in the order in which they appear in this list.
    • Queries
    • Forms
    • Reports
    A name map is created for each object in the database.

    Note If you save a form or a report first, the correct name map information of the relevant query is not saved in the form or in the report. Therefore, you must save the objects in the order in which they appear in this list.

↑ Back to the top


More information

Steps to reproduce the issue

  1. In Access 2000, open the Access 97 version of the sample database Northwind.mdb.
  2. In the Convert/Open Database dialog box, click Convert Database, and then click OK.
  3. In the File name box, type NWindConv2000.mdb, and then click Save.
  4. On the Tools menu, click Options, and then click the General tab.
  5. Click to select the Track name AutoCorrect info check box and the Perform name AutoCorrect check box, and then click OK.
  6. Open the Customers table in Design view.
  7. Rename the CustomerID field to Cust ID.
  8. Save and then close the table.
  9. Open the Customers form. The CustomerID field displays the following value:
    #Name?

↑ Back to the top


References

For more information about the Name AutoCorrect feature, click Microsoft Access Help on the Help menu, type What Name AutoCorrect fixes and does not fix in an Access database in the Office Assistant or the Answer Wizard, and then click Search to view the topic.

↑ Back to the top


Keywords: KB230616, kbnofix, kbbug

↑ Back to the top

Article Info
Article ID : 230616
Revision : 4
Created on : 3/6/2007
Published on : 3/6/2007
Exists online : False
Views : 484