Results 1 to 6 of 6
  1. #1
    Sarge, USMC is offline Advanced Beginner
    Windows 10 Access 2016
    Join Date
    Oct 2010
    Posts
    43

    Key violations or some crap

    So when I import data to one of the tables in my DB, I get this message:



    I donno what this is all about. The records I'm importing do import normally. No data is lost.

    I didn't have this problem last year when I used the DB. This year, I had to change some of the headers, but that's it.

    Any ideas what this might be all about?
    Attached Thumbnails Attached Thumbnails Untitled.jpg  

  2. #2
    Sarge, USMC is offline Advanced Beginner
    Windows 10 Access 2016
    Join Date
    Oct 2010
    Posts
    43
    Lots of views, no feedback. Anyone got any ideas at all what this might be about?

  3. #3
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,643
    I saw this then and didn't have a good thought. Are you sure no data is truncated, like trying to put a 30 character value into a text field set to 20?
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  4. #4
    Micron is offline Very Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    13,372
    This year, I had to change some of the headers,
    This smells like you changed a data type in the target table and now you can't append from a source where the corresponding field is of an incompatible type. It's a very generic message that provides clues for which you have to really focus on, which is why I'm not suggesting something like key violations (that one is zero). Maybe post a bit more about what's coming from where and what it's going into and how, unless you check out my guess and find that's the problem.
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

  5. #5
    orange's Avatar
    orange is online now Moderator
    Windows 10 Access 2010 32bit
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,850
    Do you have a table with "Import Errors" or similar in its name?
    As micron said, tell us/show us a little more.

    What specifically did you change? From what, to what?

  6. #6
    CJ_London is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,845
    the other possible smell is use of reserved words in column names, with or without spaces. Would also be helpful to know what process of importing you are using.

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

Similar Threads

  1. Append Key Violations
    By Chad Access in forum Access
    Replies: 4
    Last Post: 04-27-2017, 03:32 PM
  2. key violations
    By Jen0dorf in forum Access
    Replies: 5
    Last Post: 08-10-2016, 12:20 PM
  3. Key Violations in an Append Query
    By petefc in forum Queries
    Replies: 1
    Last Post: 11-30-2012, 01:47 PM
  4. Key Violations
    By Daryl2106 in forum Access
    Replies: 5
    Last Post: 10-02-2012, 02:34 PM
  5. Database help, key violations
    By dhicks19 in forum Queries
    Replies: 6
    Last Post: 05-10-2012, 05:06 AM

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