Click here to Skip to main content
15,895,794 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Hi,
When i'm updating the same value for 2 tables i'm facing this error ,How to solve this error.
"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 permit duplicate entries and try again"

Regards
Balamurugan
Posted
Comments
phil.o 18-Jan-13 3:40am    
Without seeing your code for updating it will be quite impossible to help you.
Balamurugan1989 18-Jan-13 3:49am    
Just give me a solution for this error.What are the ways to solve this error.
Deenuji 18-Jan-13 3:49am    
do u creating any primary key or u set any index value for this table????
Balamurugan1989 18-Jan-13 3:52am    
No i'm not creating primary key
madhuri@mumbai 18-Jan-13 3:56am    
give your update query for more info..

This error occurs due to not adding datatype in a right way in Access.We need to add the datatype in a right way.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900