Skip to Content
author's profile photo Former Member
Former Member

Connecting to Excel changes memo to string field

Hi. I am connecting to an Excel file with some fields having more than 255 characters. When these are viewed in CR XI, they are truncated. Is there a different way I should be connecting to maintain the memo field?

thanks.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Sep 08, 2011 at 09:51 PM

    Hello,

    First thing to do is upgrade to CR XI R2 for free, just use your XI Keycode to install it:

    http://downloads.businessobjects.com/akdlm/crystalreports/crxir2_sp4_full_bld_0-20008684.exe

    http://downloads.businessobjects.com/akdlm/crystalreports/CRYSTALREPORTS06_0-20008684.EXE

    Then test again. If that still fails then create a ODBC DSN and define the string length for the field definition.

    Then search here for other options...

    Also, I am moving this to the Report Design forum.

    Don

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 08, 2011 at 10:21 PM

    Hi,

    When a report is based against Excel, CR treats the first row of the worksheet as the heading.

    The value in the second row actually determines what 'type' of data follows.

    Try moving the cell that has more than 255 characters to the second row, preferably the cell that has the highest no. of characters. CR might just pick the column as memo.

    -Abhilash

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi,

      Could you create a sample excel sheet and insert around 1000 characters (you can just copy and paste a huge paragraph from somewhere and keeping pasting it in the cell)? Make sure the first row has a heading and then add this as the second row.

      Create a report against this sheet and check if CR XI truncates the data. I just tried the same thing on CR 2008 and it did well.

      Also, try upgrading CR XI R2 to SP6 and test if the issue prevails.

      -Abhilash

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.