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.

ACC2000: "Name Conflicts with Existing Module..." Error Message


View products that this article applies to.

This article was previously published under Q208753
Moderate: Requires basic macro, coding, and interoperability skills.

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

↑ Back to the top


Symptoms

When you try to convert a Microsoft Access 2.0 database to Microsoft Access 2000, the conversion process stops, and you may receive the following error message:
Name conflicts with existing module, project, or object library.
The same message appears if you try to save a module with the same name as an existing module, project, or object library.

↑ Back to the top


Cause

A Microsoft Access object, such as a module, is violating the naming conventions for objects, modules, or procedures in Visual Basic for Applications. For example, you have a module with the same name as a type library, such as "DAO," "Access," or "VBA."

↑ Back to the top


Resolution

To resolve this problem, use one of the following methods.

Converting from Earlier Versions of Access

Open the database in Microsoft Access version 2.0 and rename the object.

This resolution assumes that you have Microsoft Access version 2.0 installed on your computer. If you replaced version 2.0 with version 2000 by installing version 2000 to the same folder on your computer, then you must reinstall version 2.0. You may want to reinstall into a different folder so that you have both versions available for resolving the conversion problem.

Naming Current Modules

Choose a name that is different from existing modules, projects, or object libraries.

↑ Back to the top


References

For more information about conversion and compatibility, click Microsoft Access Help on the Help menu, type convert a database in the Office Assistant or the Answer Wizard, and then click Search to view the topics returned.

↑ Back to the top


Keywords: KB208753, kbusage, kbprb, kberrmsg

↑ Back to the top

Article Info
Article ID : 208753
Revision : 2
Created on : 6/29/2004
Published on : 6/29/2004
Exists online : False
Views : 262