HTML--display on report

A

Al Kaufman

We are storing HTML in a SQL Server field. The front end of the application
is an Access 2003 MDB. I need to display the HTML on an Access report.
I've tried using a browser control, e.g., wbbApp.Navigate
URL:="www.google.com". As long as we're pointing at a web site it works
fine. However, I cannot figure out how to successfully pass the HTML from
the database field to the control. When I navigate to the explicit HTML,
the raw HTML is displayed.

How can the HTML be displayed properly?

Al Kaufman
 
S

Stephen Lebans

Please do not multipost but rather cross post to all relevant NG's at
once.

While you can insert the MS Web Browser control onto a report I have
never been able to have it render its contents onto the Access report
page.

Perhaps you meant you are using a Form instead of a report? For sample
code of how to load an HTML string into the WebBrowser control see:
http://www.lebans.com/htmleditor.htm

--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top