on 11-12-2008 10:47 PM
I have a formula that uses html text interpretation.
When using a paragraph tag, I get no blank lines.
eg. When I have "hello" followed by a paragraph tag followed by "hello", I get
hello
hello
instead of:
hello
hello
I have tried things multiple paragraph tags and multiple "br" tags, but no luck.
I am using Crystal Reports XI Release 2 (11.5.8.826)
I get it when I do a print preview in the designer. I am planning on integrating it with a VB.net 2005 Windows application when I get it working.
Thanks,
Patrick
Hello, Patrick;
I can find a note internally but cannot find it externally where you can see it so I will copy it below.
There appears to be a workaround that is still valid.
This is a design question and you may find mor in depth information if you post it to the Crystal Reports Design Forum.
Elaine
=======================
1217413 - Incorrect formatting with HTML paragraph tag in HTML Text Interpretation
Symptom
In Crystal Reports versions 9 and 10, when formatting a field with the HTML Text option selected for Text Interpretation, the paragraph tag (<p>) creates a new paragraph without a blank line below it.
Cause
The issue has been identified and tracked under ID ADAPT00164750.
NOTE
When a Track ID has been assigned to an issue, this indicates it has been reported to Business Objects for possible inclusion in future hot fixes or file updates. Refer to the list of Track IDs that accompanies a hot fix or file update to verify that a particular issue has been corrected.
Resolution
To work around this behavior, create a formula to replace the single paragraph tag with two paragraph tags separated by a space as follows:
//Note the space in between the 2 <p> tags
Replace({TableName.FieldName}, "<p>","<p> <p>")
====================
NOTE:
For more information regarding supported HTML tags and attributes with HTML Text Interpretation, please refer to Knowledge Base article c2014842.
====================
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello, Patrick;
I am going to repeat the resolution here. I see the code did not format well.
Resolution
To work around this behavior, create a formula to replace the single paragraph tag with two paragraph tags separated by a space as follows:
//Note the space in between the 2 "p" tags
Replace({TableName.FieldName}, "<p>","<p> <p>")
====================
NOTE:
For more information regarding supported HTML tags and attributes with HTML Text Interpretation, please refer to Knowledge Base article c2014842.
====================
Elaine
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.