You are currently offline, waiting for your internet to reconnect

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

Support for Office 2003 has ended

Microsoft ended support for Office 2003 on April 8, 2014. This change has affected your software updates and security options. Learn what this means for you and how to stay protected.

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.
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.
pra sp4 identical same ACC2002 reviewdocid

Article ID: 291162 - Last Review: 07/28/2006 03:05:30 - Revision: 5.4

  • Microsoft Office Access 2003
  • Microsoft Access 2002 Standard Edition
  • kbbug kbfix KB291162