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



The information in this article applies to:

  • Microsoft Office Access 2003
  • Microsoft Access 2002

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.

SYMPTOMS

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.

RESOLUTION

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

STATUS

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

MORE INFORMATION

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

Modification Type:MinorLast Reviewed:7/28/2006
Keywords:kbbug kbfix KB291162 kbAudDeveloper