Jump to content
Xtreme .Net Talk

Recommended Posts

Posted (edited)

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?

Edited by EFileTahi-A
Posted

I had a quick look on http://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&

  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...