Using Rich text in report
Hi,
I have a rich text field in a datatable (access) with a description. It is a rich text format (html). When adding the datatable and using it in my tooltip, formatting is nice printing titles in bold etc...
I'm using the same field in a report, in a rich textbox. But the text is displayed as plain text with html tags, like " <div><strong><u>ETUDE DE MOBILITE ET D'ACCESSIBILITE POUR LE PROJET
D'URBANISATION EN MER DE LA PRINCIPAUTE DE MONACO</u></strong></div>"
How can I make it appear as rich text in my report?
Any sugestions?
Thanks,
Tomas
0
-
Hi Tom,
Are you storing true rich text (RTF) or HTML as they are different. RTF would look something like this :
{\rtf1\ansi{\fonttbl\f0\fswiss Helvetica;}\f0\pard This is some {\b bold} text.\par }
and HTML would be like your example. HTML is considered potentially dangerous code and would be blocked in many cases. If possible, please try using true RTF.
Regards,
Wayne Richard
Latitude Geographics Group Ltd.
Head Office: 300 – 1117 Wharf Street Victoria, BC Canada V8W 1T7
Tel: (250) 381-8130 | Fax: (250) 381-8132 | wrichard@latitudegeo.com
Developers of Geocortex web-based mapping software | www.geocortex.com
An Esri Platinum Business Partner0 -
Hi Richard,
thanks for clarifying. I supposed MS Access Rich Text format was actualy rtf, but seems not to be so.
Anyway, is there an easy way to get html coded text from an Access database as formated text in a report? It appears perfect in the pop-up window, but I would need it as well in the report.
Thanks,
Tom0
Du måste logga in om du vill lämna en kommentar.
Kommentarer
2 kommentarer