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.

AutoNumber field duplicates previous values after you compact and repair a database

View products that this article applies to.


After you compact and repair a database that includes a table that has an AutoNumber field, you notice that when you enter new data, the AutoNumber is a duplicate of an earlier AutoNumber.

↑ Back to the top


Obtain the latest Microsoft Jet 4.0 service pack that contains an updated version of the Microsoft Jet 4.0 database engine.

For additional information about how to obtain the latest version of the Jet 4.0 database engine, click the following article number to view the article in the Microsoft Knowledge Base:
239114 How To: Obtain the Latest Service Pack for the Microsoft Jet 4.0 Database Engine

↑ Back to the top


Microsoft has confirmed this to be a problem in Microsoft Jet version 4.0.2927.4 and earlier.

↑ Back to the top

More information

When you use an AutoNumber field to generate counter values, a duplicate value may be generated.

↑ Back to the top

Keywords: KB291162, kbfix, kbbug

↑ Back to the top

Article Info
Article ID : 291162
Revision : 9
Created on : 7/28/2006
Published on : 7/28/2006
Exists online : False
Views : 321