Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Microsoft: Access Tables and Relationships FAQ


Duplicate Values by Garridon
Posted: 8 May 02 (Edited 6 Jan 03)

If you get this error message:

"The changes you requested to the table were not successful because they would create duplicate values in the index, primary key, or relationship.  Change the data in the field or fields that contain duplicate data, remove the index, or redefine the index to allow for duplicate entries."

... you may have a corrupted index (especially if the database worked before without any problems).

Basic Fix:
Tools>Database Utilities>Compact and Repair

If this doesn't fix it:

Create a new blank database and import the database into it.  Run Compact and repair.

If the problem continues, you may have to do a little troubleshooting.  If you know that the error message only pops up when you add a record on this form, recreate any queries running behind the form from scratch.  If it doesn't fix the problem, you might try recreating the form.

Microsoft also recommends deleting and recreating the relationships when a database is corrupted.

Back to Microsoft: Access Tables and Relationships FAQ Index
Back to Microsoft: Access Tables and Relationships Forum

My Archive

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close