Solved

Unable to Append All Data to a Table in Access 97

Posted on 2004-10-18
3
956 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

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

I see at least one EE question a week that pertains to using temporary tables in MS Access.  But surprisingly, I was unable to find a single article devoted solely to this topic. I don’t intend to describe all of the uses of temporary tables in t…
Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.

734 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