Can crystal reports display input in html form?
If I have a varchar column in a SqlServer db containg html, is there any way that crystal reports can display it the way a brower would?
For example, if the field contains the string
<b> <u> This is my text. </u> </b>
cry开发者_如何学编程stal would know to display it as
This is my text.
I am using the crystal reports that comes with vs2008.
I'm not sure which version that is, but you should be able to do something along these lines:
- Right-click the field, select "Format Field"
- Select the "Paragraph Formatting" or "Paragraph" tab.
- Find the "Text interpretation" dropdown, and instead of
none
, selectHTML text
.
It might be slightly different depending on the version you are using, but that's the general idea.
精彩评论