Displaying HTML in a report
I am trying to display HTML in a report that is pulled from a database.
I have tried using http://www.trichview.com/resources/reportbuilder/ but
that does seem to render the field contents as HTML.
Has anyone been able to display HTML? Is there an example out there?
I have tried using http://www.trichview.com/resources/reportbuilder/ but
that does seem to render the field contents as HTML.
Has anyone been able to display HTML? Is there an example out there?
This discussion has been closed.
Comments
It works here, although it took a bit of corresondence with the author
to get it working because a couple of class/components are needed to get
it all setup. Can't remember off the top of my head...can look it up
tomorrow if you'd like (off to bed now )?
You need to download his free TrvHtmlImporter component that makes
Sergey's TppDBRichView work with HTML. Here's a snippet I got from an
email from him. Any problems in setting it up and he has proven very
responsive and helpful to me.
"Unfortunately, our components do not have HTML loading methods (we plan
to implement them in this year, but it may take longer).
But HTML import is possible using additional free components. Is it
stored in DB? In this case, ppDBRichView can read HTML using
TrvHtmlImporter component (it can be found in
www.trichview.com/resources/ ), In RB wrapper, its support is activated
with RV_USE_HTML define.
This component can import only a simple HTML, without CSS (your example
is ok), and it supports only two encodings: either UTF-8 or the system
default windows code page."
For future reference, please use your name when you post to these
newsgroups rather than your email address.
Using TRichView is currently the only way to include HTML content inside
a report.
We are unaware of any issues with using TRichView and ReportBuilder but
if you are having any, you might try contacting their support. They are
usually very responsive and will work with us to solve any problems.
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Thanks for pointing me in the right direction.