TransferText "Database was unable to append..." message

From: Kevin (anonymous_at_discussions.microsoft.com)
Date: 03/31/04


Date: Wed, 31 Mar 2004 12:22:41 -0800

Do you have any fields that are Indexed and cannot accept
duplicate values? Also, check your Allow zero length
Field setting properties. Just a wild guess.

>-----Original Message-----
>Hi all,
>
>I've been trying to figure out this porblem for a week,
with no luck. Here's my issue...
>
>I am running the following line of code while importing a
text file into an table:
>
>DoCmd.TransferText , , strTableName, gStrAppPath +
strTableName + "Upload.txt"
>
>If I step through the code the code works flawlessly. If
I run the code, sonetimes it works fine, sometimes it
throws the following message:
>
>Database was unable to append all the date to the table.
The contents of fields in 0 record(s) were deleted, and 0
record(s) were lost due to key violations.
>
>I've tried throwing doEvents in all over the code, along
with timer loops, to try to "give the CPU a break", all to
no avail.
>
>Has anyone seen this, and better yet, have some ideas for
me to try?
>
>Thanks,
>Ken
>
>.
>



Relevant Pages

  • Re: Subset Sum problem (w/ limited scope)
    ... The "Subset Sum" problem (stated various ways depending on what you ... a subset of those integers that sums up to zero. ... Are there going to be duplicate values in your original array? ...
    (comp.lang.fortran)
  • Re: Subset Sum problem (w/ limited scope)
    ... The "Subset Sum" problem (stated various ways depending on what you ... a subset of those integers that sums up to zero. ... Are there going to be duplicate values in your original array? ...
    (comp.lang.fortran)
  • RE: Missing a command in this macro
    ... Termed and duplicate are ment. ... "jeannie v" wrote: ... I used this Macro again and found that it doesn't delete all the Zero Counts ...
    (microsoft.public.excel.worksheet.functions)
  • Re: Using COUNTIF to search for existence
    ... Then Sandy's test reveals that blank and null string have another story between the two of them not having zero as part of the picture this time. ... You get a FALSE because there is no duplicate. ... So you can see that the count for a totally Blank cell is the same as ... COUNTIF works on a single range. ...
    (microsoft.public.excel.worksheet.functions)
  • Re: saturating n bit counter
    ... working in electronics. ... I might make a wild guess that a "staturating counter" is one ... any more, but the next "down" count decrements it to 2, and so on, down ... to zero, where it won't decrement any more, but can still count up again. ...
    (sci.electronics.basics)

Quantcast