Results 1 to 4 of 4
  1. #1
    rlbordonaro is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jan 2013
    Posts
    3

    Linked Excel file to Access Form truncates text


    Hi, I know there is a simple solution to this question - my access form is truncating the Excel data (linked table) to 255 characters. I have another form that is linked to a different Excel file and this form is not truncating the text. I cannot determine the difference. How can I avoid access truncating the excel text?

    The excel data is in General format. Thanks,

  2. #2
    Perceptus's Avatar
    Perceptus is offline Expert
    Windows 7 64bit Access 2016
    Join Date
    Nov 2012
    Location
    Knoxville, Tennessee
    Posts
    659
    I created an excel file with 25 rows, first column has 2704 characters, 2nd column has 19141 characters. Then I linked them into access as a linked table. After a query. the data that imported did not truncate. Are you sure the data is being truncated at the table level? or are you trying to bring it in in a control on the form level that may show only 255 characters(best guess i have)?

  3. #3
    June7's Avatar
    June7 is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,913
    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.

  4. #4
    Micron is offline Virtually Inert Person
    Windows 7 32bit Access 2007
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    12,798
    You might receive a comment that the data is linked, not imported as the other thread so the incorrect determination of data types doesn't apply IMHO.
    When linking to a sheet that has columns with entries greater than 255 characters, the column is mapped as a memo field type and the character cut off point for displaying in Access is 255 although the underlying data is not affected. The work around is to import into a table where these fields are of the memo (now long text?) data type.
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

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

Similar Threads

  1. Replies: 2
    Last Post: 12-15-2017, 08:09 PM
  2. Replies: 5
    Last Post: 05-25-2016, 12:43 PM
  3. Replies: 1
    Last Post: 11-30-2015, 07:30 AM
  4. Import from Excel truncates
    By Chanda in forum Import/Export Data
    Replies: 4
    Last Post: 02-07-2015, 09:10 AM
  5. Replies: 1
    Last Post: 01-22-2013, 09:51 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