Results 1 to 5 of 5
  1. #1
    Chanda is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jan 2015
    Posts
    3

    Import from Excel truncates

    Re: https://www.accessforums.net/import-...emo-26861.html



    Similar situation for me. I removed the "@" as well, but the data is still being truncated. Any suggestions?

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,633
    Same suggestion, provide the file for analysis.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,549
    Is your target field set to MEMO? (the only field that can be longer than 255)

  4. #4
    Chanda is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jan 2015
    Posts
    3
    ranman256 It is set to Memo. Strangely, after going through all fields, I found that the truncated data was sporadic. If it were all the data more than 255, it would make sense, but it isn't. A lot of troubleshooting, but no luck.

  5. #5
    AnandKhinvasara is offline Advanced Beginner
    Windows 7 64bit Access 2007
    Join Date
    Jul 2014
    Posts
    31
    If your Import excel contains memo fields having more than 255 characters,import it using TransferSpreadsheet method. You can paste it under a command button on a form, and change the variable names.

    docmd.TransferSpreadsheet acImport,acSpreadsheetTypeExcel9, "TableName", "C:\InputFilePath\InputfileName.xls", True

    If still it doesnt work, then link the spreadsheet instead of importing it, and then use it in your queries/or forms or whereever.

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

Similar Threads

  1. Unbound text box truncates leading zeros
    By brharrii in forum Forms
    Replies: 4
    Last Post: 01-10-2016, 08:06 PM
  2. Replies: 3
    Last Post: 12-12-2014, 03:47 PM
  3. Replies: 10
    Last Post: 06-16-2014, 08:37 AM
  4. Replies: 4
    Last Post: 12-17-2012, 01:21 PM
  5. Report Field Truncates
    By Topcerv in forum Access
    Replies: 4
    Last Post: 07-23-2011, 03:29 PM

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