Results 1 to 6 of 6
  1. #1
    Peakwalker is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Nov 2012
    Posts
    14

    Warning received about duplicate values, but there are no duplicate values

    I am using Access 2010, and have come across this problem before which miraculously solved itself, but now it's come up again. The db is about 800MB in size, and the table I am using has just over 1000 records in it.



    I have a list of samples, each with a unique id. When I go to add a new sample to the list, it tells me it can't do it as it would create duplicate values in the index, primary key, or relationship. I know for certain it is not a duplicate number, and I can put in completely random values and it always gives the same message. I normally add values to the table using an append query, but whether I use the query or try to type manually, it won't let me add the field. I have also removed the primary key from the sample number field, and it still gives the same message.

    I am wondering if it is a relationship issue, I use the table in a query but it has worked fine for months and so I don't know why it would all of a sudden stop working now. If it is a relationship issue I wouldn't know how to start looking for it though.

    Any help would be appreciated.

  2. #2
    alcapps is offline Competent Performer
    Windows 8 Access 2010 32bit
    Join Date
    Jan 2012
    Posts
    292
    Is this an access table or linked SQL table?

  3. #3
    alcapps is offline Competent Performer
    Windows 8 Access 2010 32bit
    Join Date
    Jan 2012
    Posts
    292
    After thinking about it for a moment it sounds like a index issue. Remove all indexes on that table. Then try adding a record manually.

  4. #4
    Peakwalker is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Nov 2012
    Posts
    14
    It is an Access table. How do I remove an index on a table?

  5. #5
    Peakwalker is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Nov 2012
    Posts
    14
    Thank you!!! I found instructions online about removing indexes and it did the trick. Thanks so much

  6. #6
    alcapps is offline Competent Performer
    Windows 8 Access 2010 32bit
    Join Date
    Jan 2012
    Posts
    292
    Great! Glad that you got it working.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Finding Duplicate Values
    By TimMoffy in forum Forms
    Replies: 4
    Last Post: 11-21-2012, 10:22 PM
  2. Replies: 3
    Last Post: 11-02-2012, 11:00 AM
  3. duplicate lookup values
    By andy33 in forum Database Design
    Replies: 2
    Last Post: 11-18-2011, 03:07 PM
  4. duplicate values
    By tarhim47 in forum Access
    Replies: 7
    Last Post: 05-03-2011, 11:30 AM
  5. Duplicate Values in table
    By senthilrg in forum Queries
    Replies: 3
    Last Post: 12-18-2009, 09:24 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums