EFileTahi-A Posted December 21, 2006 Posted December 21, 2006 (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 December 21, 2006 by EFileTahi-A Quote
EFileTahi-A Posted December 29, 2006 Author Posted December 29, 2006 Please, if I did not explain myself that good, do let me know about it as I really need help on this. Quote
pendragon Posted January 2, 2007 Posted January 2, 2007 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& Quote
EFileTahi-A Posted February 6, 2007 Author Posted February 6, 2007 Hi Pendragon.. Long time no see you... Thanks for the post. I can't really believe in this! Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.