Solved

Unable to Append All Data to a Table in Access 97

Posted on 2004-10-18
3
945 Views
Last Modified: 2008-01-09
I'm trying to import excel spreadsheets into an Access 97 (latest version the client has) table using the DoCmd.TransferSpreadsheet command.  Some spreadsheets produce the error: "Microsoft Access was unable to append all the data to the table.  The contents of field in 0 records were deleted, and 0 records were lost due to key violations."  Despite the claim of 0 records, some records are not imported.
The same spreadsheet imports fine if I convert the db to 2002 (XP).
Also, I can "fix" the offending records by deleted the contents of some particular empty (?) cells.  

Is this a known bug?  Any work around?
Any help would be appreciated.
Boy, I wish my client would just update their software...

mv
0
Comment
Question by:Michael Vasilevsky
3 Comments
 
LVL 10

Author Comment

by:Michael Vasilevsky
ID: 12343456
Ah, I solved my problem: just allow zero length string on all text fields.

Does that mean I get the points?
0
 
LVL 34

Expert Comment

by:flavo
ID: 12343718
Sure does.. well done, no seriously post a 0 point Q in the Comunity Support TA and tell them you solved the Q yourself.  Make sure to leave a link back to here for them.

Dave
0
 

Accepted Solution

by:
ee_ai_construct earned 0 total points
ID: 12353293
Question answered by asker or dialog valuable.
Closed, 500 points refunded.
ee_ai_construct (replacement part #xm34)
Community Support Admin
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The first two articles in this short series — Using a Criteria Form to Filter Records (http://www.experts-exchange.com/A_6069.html) and Building a Custom Filter (http://www.experts-exchange.com/A_6070.html) — discuss in some detail how a form can be…
Describes a method of obtaining an object variable to an already running instance of Microsoft Access so that it can be controlled via automation.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now