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

Article translations Article translations
Article ID: 291162 - View products that this article applies to.
This article was previously published under Q291162
This article applies only to a Microsoft Access database (.mdb).

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

For a Microsoft Access 2000 version of this article, see 257408.
Expand all | Collapse all


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.


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


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


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


Article ID: 291162 - Last Review: July 28, 2006 - Revision: 5.4
  • Microsoft Office Access 2003
  • Microsoft Access 2002 Standard Edition
kbbug kbfix KB291162

Give Feedback


Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from