Key Violation Table -Where is it?
- From: "Earl Anderson" <isobadd@xxxxxxxxxxxxx>
- Date: Thu, 8 Jan 2009 01:33:29 -0500
I've imported and converted an 11-column Excel worksheet into an Access 2003
db as its own table (tbl_XLS) with a single PK field. As a result of using
an Append Query to add the 1753 records of tbl_XLS to a similarly structured
table (tbl_ACC) of 4890 records, I received notice of 264 records not being
appended due to "key violations'. Of the 12 fields in it, 'tbl_ACC' has an
AutoNumber PK field and one indexed field matching the design of tbl_XLS's
PK field.
Though frustrating, I don't mind receiving the error message as much as not
receiving a "tbl_Key Violation' after clicking the"Yes-Proceed with the
Append Operation" button. I recall from using Paradox in the early 90's, it
would create a 'Key Violation' table - I wonder why Access doesn't- it
creates an Import Error table, a KV table couldn't be that much more
difficult to produce. I thought about clearing the indexes and PKs in both
tables and then running a 'Duplicates Query' to find the 264 culprits, but
that seems a 'clumsy'.way to do it. I also thought the fact that tbl_XLS
did not have an AutoNumber field may be the problem, but with 1489 records
being appended, that could not be the case either.
After searching the NG Forum with no answer, my question is if anyone has
found a way to produce a KV Table they would be willing to share or some
other way to find the 'offending KV records?
Thx for any help...
Earl
.
- Follow-Ups:
- Re: Key Violation Table -Where is it?
- From: MGFoster
- Re: Key Violation Table -Where is it?
- Prev by Date: Re: Subform Current event - workaround for multiple firing
- Next by Date: Re: Save and restore cursor location
- Previous by thread: Access 97 to Access 2003 conversion problem with Reports !
- Next by thread: Re: Key Violation Table -Where is it?
- Index(es):
Relevant Pages
|