Results 1 to 8 of 8
  1. #1
    cherzigMX is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Oct 2012
    Posts
    4

    Question Unparsable Record w/ Excel Import

    I am trying to import a series of records from Excel into a table in Access 2010. The field names in the Excel table match the field names in the Access table. The field formats are the same as well (both set to numbers).



    I am receiving an "unparsable record" error for all fields in the Excel file that are being entered into fields in Access that are 'lookup' fields that allow multiple entries.

    The Exel fields have been filed in with the 'numbers' that correspond to the correct 'lookup' selections. There is only one item in the excel field -> while access will allow multiple entries for the field, I for the records I'm importing I only need one.

    For the fields that are 'lookup' but allow only one value the excel data is being imported and displayed correctly in Access.

    Do I need to format the fields that are matching to multiple entry fields differently or in a special way?

    Thanks for your help.

  2. #2
    Robeen is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    Mar 2011
    Location
    Tulsa, Oklahoma.
    Posts
    1,596
    First - I don't use Lookup fields.. . either in Excel or in Access.

    I usually let Access 'Import to a New Table . . .'.
    That way Access creates the table and gets the data types 'right'.
    I HAVE had problems when I try & do it the way you describe & create a Table & assign fields what I think to be the appropriate data types.

    Have you tried letting Access create the table for you?
    Last edited by Robeen; 10-16-2012 at 02:15 PM.

  3. #3
    cherzigMX is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Oct 2012
    Posts
    4
    I have tried having Access import to a new table but still ran into trouble trying to append the records to the table that already existed, which is ultimately where I need the data... But it's possible I built my append query incorrectly...

  4. #4
    ssanfu is offline Master of Nothing
    Windows XP Access 2000
    Join Date
    Sep 2010
    Location
    Anchorage, Alaska, USA
    Posts
    9,664
    Do I need to format the fields that are matching to multiple entry fields differently or in a special way?
    Yes. Get rid of the "Look Up Field".

    A look up field is different than a look up TABLE.

    See
    http://access.mvps.org/access/tencommandments.htm
    and especially
    http://access.mvps.org/access/lookupfields.htm

    Like Robeen, I never use "look up fields". They hide the true data...

    Here are two more sites to look at:
    http://www.utteraccess.com/forum/Mul...-t1964036.html
    http://social.msdn.microsoft.com/For...-83004700e144/
    Last edited by ssanfu; 10-16-2012 at 12:33 PM. Reason: added links

  5. #5
    cherzigMX is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Oct 2012
    Posts
    4
    Not using "lookup" field is not an option. But, perhaps I'm using the wrong language here...what I'm calling a 'lookup field' is a field that looks up & displays data from another table, the user then selects the value(s) they want to assign to the new record. Due to the complexity and accuracy needs of our access DB we need the values input to be selected by our users vs. always typing in the value that they may or may not know.

    Cecily

  6. #6
    ssanfu is offline Master of Nothing
    Windows XP Access 2000
    Join Date
    Sep 2010
    Location
    Anchorage, Alaska, USA
    Posts
    9,664
    Just to be sure we are talking apples & apples, a field in in a table.

    A form has controls (bound or unbound). A combo box control can "look up' values from a different table.

    This is different from a "look up field". A look up field is defined in a table when you are creating/modifying a table; in design view, you set the field type (Text, Number, Date/Time). At the bottom of the display are two tabs. If you set the field type as Number, the "General" tab is where you can set what type of number: Integer, Long Integer, Single... The "Look up" tab is where you can change the Display Control from "Text Box" to "Combo box". This is the infamous "Lookup Field".

    A combo box control on a form to look up values - GOOD
    A look up field in a table - BAD

  7. #7
    cherzigMX is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Oct 2012
    Posts
    4
    Ah! We're talking the good here -> A combo box control on a form to look up values

  8. #8
    ssanfu is offline Master of Nothing
    Windows XP Access 2000
    Join Date
    Sep 2010
    Location
    Anchorage, Alaska, USA
    Posts
    9,664


    So the next thing to do is get rid of the multi-valued fields.

    As you see by the last two links I posted (post #4), you can't import to multi-valued fields (without a lot of code)

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

Similar Threads

  1. Replies: 2
    Last Post: 02-14-2012, 04:40 PM
  2. Importing from excel - Unparsable record error
    By jawinterton in forum Import/Export Data
    Replies: 8
    Last Post: 12-08-2011, 02:14 PM
  3. Excel Import
    By jesleon in forum Import/Export Data
    Replies: 4
    Last Post: 08-24-2010, 07:32 AM
  4. Import Excel with SQL - again
    By tpcervelo in forum Queries
    Replies: 1
    Last Post: 08-06-2010, 08:13 PM
  5. VBA to open excel, import on close of excel
    By bdaniel in forum Programming
    Replies: 0
    Last Post: 03-20-2010, 02:45 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