Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: Left angle bracket is missing from HTML Text Post Reply Post New Topic
Author Message
alee
Newbie
Newbie


Joined: 12 Jan 2011
Online Status: Offline
Posts: 3
Quote alee Replybullet Topic: Left angle bracket is missing from HTML Text
    Posted: 12 Jan 2011 at 2:26pm
I have a html field (Html Text) in my report.
I find out if the value is "<a lot of>" or "&lt;a lot of>", the field displays "a lot of>".
 
It looks like the left angle bracket is not allowed in a html text field unless is a correct html tag like <b>.
 
Can anyone share me some information to resolve this issue? thanks.
IP IP Logged
rahulwalawalkar
Senior Member
Senior Member
Avatar

Joined: 08 Jun 2007
Location: United Kingdom
Online Status: Offline
Posts: 731
Quote rahulwalawalkar Replybullet Posted: 14 Jan 2011 at 3:56am
Hi Alee,
 
Please can you post some sample text to playaround
 
cheers
Rahul
IP IP Logged
alee
Newbie
Newbie


Joined: 12 Jan 2011
Online Status: Offline
Posts: 3
Quote alee Replybullet Posted: 16 Jan 2011 at 12:54pm
Hi Rahul,
 
This field on my report need to support html format like <i>,<b>,<p>.....
The data is from a html editor, so i set this field as HTML Text.
 
And sometimes, users need to insert angle brackets as text content.
For example, user input the following:
 
Here is a <long>  test string
 
So in database i have below value:
&lt;b&gt;here&lt;/b&gt; is a &lt;long&gt; &lt;i&gt;test&lt;/i&gt; &lt;u&gt;string&lt;/u&gt;
 
But when i passed this value to the report, the report display:
Here is a  long>  test string
 
The Left angle bracket is lost.
 
cheers,
Alee
IP IP Logged
Keikoku
Senior Member
Senior Member


Joined: 01 Dec 2010
Online Status: Offline
Posts: 386
Quote Keikoku Replybullet Posted: 17 Jan 2011 at 4:50am
I recall seeing this question somewhere on these forums, but can't remember where exactly.

Someone hypothesized that perhaps Crystal does something with that < and therefore messes things up.

Maybe you can tell me how to create HTML text fields so I can see what's up (I am using XI, so not sure if there are HTML fields)
IP IP Logged
alee
Newbie
Newbie


Joined: 12 Jan 2011
Online Status: Offline
Posts: 3
Quote alee Replybullet Posted: 17 Jan 2011 at 1:50pm

Hi Keikoku,

What i did is drawing a data field from Database Fields to report, and then right click-->Format Fields..-->Paragraph-->Text Interpreptation, choose "HTML Text"
 
cheers,
Alee
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.015 seconds.