ACC95: Duplicate AutoNumber Values Prevent ReplicationID: Q149086
|
Advanced: Requires expert coding, interoperability, and multiuser skills.
When an AutoNumber fields has duplicate values and you try to turn on the
Replicable property of a local table in a replicated database, you may
receive the following error message:
Duplicate value in index, primary key, or relationship. Changes were unsuccessful
Microsoft Access cannot convert the database to a Design Master. Cannot make the <table name> object in Tables container replicable.
A field with the AutoNumber data type contains duplicate values. This can occur in AutoNumber fields whose NewValues property are either Increment or Random.
Because duplicate values defeat the purpose of the AutoNumber data type, you should ensure that the field does not contain duplicate values. If the field must contain duplicate values, you should specify a data type other than AutoNumber.
If a local table in a replicated database contains a field with an AutoNumber data type and the field contains duplicate values, the Replicable property of the table cannot be changed or the database cannot be converted into a Design Master.
For more information about the AutoNumber data type, search for "AutoNumber," and then "Create a field that automatically generates numbers" using the Microsoft Access for Windows 95 Help Index.
Keywords : kbusage Rpldmr RplGen
Version : 7.0
Platform : WINDOWS
Issue type : kbprb
Last Reviewed: April 27, 1999