Doing libe breaks on Crystal Reports....

EFileTahi-A

Well-known member
Joined
Aug 8, 2004
Messages
539
Location
Portugal / Barreiro
Doing line breaks on Crystal Reports....

I have a long string with line breaks on a multi text box that needs to be printed throught Crystal reports. The problem is that Crystal Reports simply ignores all line breaks and joins all text in a row.

How can I walk around this?
 
Last edited by a moderator:
I had a quick look on www.businessobjects.com

There was a problem in CR 7 and this is what they said about it

There are two types of text objects: simple and complex. Simple text objects get processed internally by the report engine whereas the processing for complex text objects gets passed off to the Crpaig32.dll. Only complex text objects can handle carriage returns and line feeds. In the above case, the text object is simple, which causes the black boxes to appear instead of the proper characters.


The solution is to force the text object to be complex. To do this, double-click on the text object to edit it and enter a carriage return (press the enter key) inside of it. This forces it to be a complex text object and forces the proper carriage returns/line feeds and tab characters to be displayed.


Note: Carriage returns/line feeds will only work if set outside the Fomrat Section Event, otherwise the block characters will appear.

I tried this but it did not make any difference, they used to allow 2 free support questions (that I have used) so I except I will only be able to report as a bug.

Maybe you can e-mail them or try there forum at http://support.businessobjects.com/forums/content.asp?fid=251&sk=5&
 
Back
Top