cancel
Showing results for 
Search instead for 
Did you mean: 

Text-field content truncated in preview

mbom
Discoverer
0 Kudos

Hi community, I have an issue when previewing reports. For db fields of text type, sometimes the last word in a line (for same field) gets truncated (in the example, I expect "Denmark MIA No. 100025"). If printed, all the information is there as expected.

I know I can solve this by embedding the field in a text box and adding a margin, but this is not a good solution as we have lots of reports with lots of fields potentially affected by this. I have tried some suggested changes to the registry database that didn't help. The report has no printer selected (optimized for screen view).

Any suggestion of how to solve this in an "universal" way?

Thanks!

DellSC
Active Contributor
0 Kudos

How are you delivering reports? Does everyone who needs it have a copy of Crystal or are you delivering through an application? If it's through an application, do you know which runtime is being used - Java or .NET - and which version of the runtime?

-Dell

Accepted Solutions (0)

Answers (2)

Answers (2)

ido_millet
Active Contributor
0 Kudos

Does changing the default printer on the server fixes the behavior?

Is the report designed with a specified printer?

note: I know the issue is not with printing, but the rendering of the preview depends on the printer driver.

mbom
Discoverer
0 Kudos

Thanks Ido! No, the report is optimized for screen view (no specific printer selected). We haven't tried to change the printer (meaning assigning a printer instead of optimizing for screen view) as that praxis is discouraged by the vendor of the application we generate the reports from.

ido_millet
Active Contributor
0 Kudos

Test the effect of assigning a printer (that exists on the server machine).

mbom
Discoverer
0 Kudos

Hi dell.stinnett-christy Thanks for answering! We deliver the report through an application using the latest CRE available for a couple of weeks ago (sorry, currently I don't have access to the server to check it; my guess is version 33, the msi is named CR13SP33MSI32_0-80007712).

- Marcelo

DellSC
Active Contributor

Yes, that is SP 33. There are several options for registry settings to alleviate this problem.

If you go to https://me.sap.com/notes/2165260, there is an SAP KB article that lists all of the possible registry updates that can be done for Crystal. If the application is a web application, this will need to be done on the web server. If it is a desktop application, it will need to be done for every installation.

You specifically want to look for:

  • TruncateClippedFieldStrings
  • UsePrecisePositioningForText
  • AdjustTextObjectWidthDynamically
  • TruncationAdjustment

Note that the last three in the list are specific to viewing the report as a PDF or exporting it to PDF.

-Dell