Results 1 to 3 of 3
  1. #1
    sophiereynolds is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Jun 2014
    Posts
    1

    Importing from Excel into Access getting Type Conversion Errors for specific rows


    I am trying to use Access as a better way to handle test scores from third party software. I am able to export from these software's into Excel and then after cleaning up the data I am trying to import it into Access. I have gone around all the most obvious troubleshooting steps (looking into the data that has the error and making sure its all the same type as Access has assigned it, ect.) I have also noticed while the errors look random the columns are being attributed to random students instead of random column/row errors. I have also looked into this side of the problem and one of the "problem" students would have an error for a score that's, for example, 42. I am really at a loss on how to fix this problem as well as being newer to Access. Any help will be appreciated!

  2. #2
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,442
    can you provide a sample of the unchanged excel file. if the file has names in it you can delete those columns but I suspect that even though you are 'cleaning' the data there is a disconnect between data types/some sort of conversion issue that can be handled with vba but I'd have to be able see exactly what's going on to offer a solution. If you have a database already started it would be helpful to have that as well.

  3. #3
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,525
    You can get Conversion errors because Excel guesses at the conversion types. (it can be wrong)
    So when I import, certain fields can look like numbers but are text, and vice versa.

    Before I import I must run a macro Cvt2Txt, that converts my string column by putting a single quote (') in front of everything.
    And for Cvt2Num, it validates it is numeric.

    This stopped a lot of wrong data types.

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

Similar Threads

  1. Replies: 9
    Last Post: 11-20-2013, 03:16 PM
  2. Excel Import Errors-Type Conversion Failure
    By ejm2163 in forum Import/Export Data
    Replies: 5
    Last Post: 04-28-2013, 09:17 PM
  3. Importing specific rows and columns
    By asmores in forum Import/Export Data
    Replies: 2
    Last Post: 03-26-2013, 12:31 PM
  4. Type Conversion Failure When Importing txt File
    By Eka1618 in forum Import/Export Data
    Replies: 15
    Last Post: 10-29-2012, 06:45 PM
  5. Replies: 5
    Last Post: 01-09-2012, 05:55 PM

Tags for this Thread

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