Results 1 to 5 of 5
  1. #1
    lenk73 is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Apr 2015
    Posts
    2

    Import errors when importing txt files

    I work off a server. My coworker can do this and receives no errors, when I do the same thing, I'm getting errors: I run a txt file, hit external data, text file, append a file to an already created table, go through prompts (same prompts coworker has) and hit finish. I receive this error:



    finished importing file xxxx to table xxx. Not all of your data was successfully imported. Error descriptions with associated row numbers of bad records can be found in the Microsoft Access table xxx, xxx.

    When I open the "bad" table file, the errors say type conversion error. We run the original txt from an exported sql query. Should all be the same.

  2. #2
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2013
    Posts
    7,862
    Sometimes, when importing Text files, I will use a temp table where each field is of type text. Afterwards, I will do data validation via VBA and append the validated data to the permanent table. Another approach is to automate the text file and do validation prior to importing.

  3. #3
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,550
    The data layout is not correct. Access is interpreting Text as numeric so you get the error.
    Either your schema is wrong, or the text is. Rebuild the schema (data layout)

  4. #4
    lenk73 is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Apr 2015
    Posts
    2
    that would make sense if my coworker was getting the same error, but when he imports, there are no issues. i'm thinking it might be a setting in my access somewhere.

  5. #5
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2013
    Posts
    7,862
    Quote Originally Posted by lenk73 View Post
    ... i'm thinking it might be a setting in my access somewhere.
    .
    .
    I am not.

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

Similar Threads

  1. Replies: 10
    Last Post: 06-16-2014, 08:37 AM
  2. Replies: 3
    Last Post: 05-01-2014, 02:27 PM
  3. Conversion Errors in import
    By sdc1234 in forum Access
    Replies: 4
    Last Post: 04-22-2014, 01:43 PM
  4. Errors while importing data
    By imran688 in forum Import/Export Data
    Replies: 5
    Last Post: 10-29-2012, 03:24 PM
  5. .ocx Files Errors
    By darshita in forum Import/Export Data
    Replies: 9
    Last Post: 12-07-2009, 07:36 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