cancel
Showing results for 
Search instead for 
Did you mean: 

Problems with long text fileds in Crystal Report Viewer

0 Kudos

I'm using Crystal Reports for Visual Studio 2010 (13.0.2000.0).

I have a report that shows a list of columns.

One of this columns shows a description field that can be very large. I didn't Check the option "Can Grow" of this field.

When I see the "Main Report Preview" it shows ok, in the report only shows part of the content of that field.

But when I see the report inside a ASP.NET web page, into a Crystal Report viewer, it shows all the text of that field, so it overwrites the content of the next column.


Is it a Bug?

How can I fix that?


Thanks,

Eva Janakieff

Accepted Solutions (1)

Accepted Solutions (1)

former_member188030
Active Contributor
0 Kudos

What happens when you check the CanGrow option for that field?

- Bhushan

0 Kudos

I tried to Check "CanGrow" option for that field and I defined Max rows value to 1, and it works fine!

Thanks,

Eva Janakieff

former_member188030
Active Contributor
0 Kudos

That is the solution.. I guess..

- Bhushan

Answers (1)

Answers (1)

DellSC
Active Contributor
0 Kudos

There are also some registry settings that you can look at to alleviate this issue.  You'll probably have to look around a bit to find where the CRforVS registry settings are located so that you can update them.  However, here's what we set to resolve the issue with BI 4.1:

[HKEY_CURRENT_USER\Software\SAP BusinessObjects\Suite XI 4.0\Crystal Reports\SavedData]
"TruncateClippedFieldStrings"="Yes"

[HKEY_CURRENT_USER\Software\Wow6432Node\SAP BusinessObjects\Suite XI 4.0\Crystal Reports\SavedData]
"TruncateClippedFieldStrings"="Yes"

[HKEY_LOCAL_MACHINE\SOFTWARE\SAP BusinessObjects\Suite XI 4.0\Crystal Reports\SavedData]
"TruncateClippedFieldStrings"="Yes"

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\SAP BusinessObjects\Suite XI 4.0\Crystal Reports\SavedData]
"TruncateClippedFieldStrings"="Yes"

-Dell

0 Kudos

I use Crystal Reports for Visual Studio 2010 and I don't find these registry value.

Thanks.

Eva Janakieff

former_member183750
Active Contributor
0 Kudos

You will have to create them.

Another trick that may work for you is to enter the string into a formula. Than place the formula into a text object.

- Ludek

Senior Support Engineer AGS Product Support, Global Support Center Canada

Follow us on Twitter

Got Enhancement ideas? Try the SAP Idea Place

Share Your Knowledge in SCN Topic Spaces