error message on Access

  • Thread starter Thread starter hyperkink
  • Start date Start date
H

hyperkink

When I open an existing database and open a file, it says" the changes you
requested to the table were not successfully because they would create
duplicate value in the index, primary key...." Could you please tell me
what's wrong? and how to fix it?
 
This usually happens when the database tries to save a newly created/modified
entry. What it is stating is that a record already exists with the same
Primary Key.

For Instance, if I setup up my table to use my last name as a unique value
primary key (therefore not allowing duplicates) and I enter my name. Then
later I go to enter my name a second time, I will recieve this message.

According to you setup/database the information you are trying to commit
already exists. As far as helping you it is rather difficult without knowing
more about your forms and tables.

Did you design the db? You need to determine what field is causing the
problem. Either it is a user issue or a design issue. Both can typically
easily be addressed.
--
Hope this helps,

Daniel Pineault
http://www.cardaconsultants.com/
For Access Tips and Examples: http://www.devhut.com/index.php
Please rate this post using the vote buttons if it was helpful.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top