How to display HTML on a form

  • Thread starter Thread starter vIQleS
  • Start date Start date
V

vIQleS

I have a database that I got from someone - full of data but no forms or
anything else... Some of the data is in HTML format (in a memo field).

It didn't come with any forms, so I'm building some and I'm trying to figure
out if there's a (preferably easy) way to display HTML on a form...
 
2003 btw

I've tried putting a Web browser control on, but I can't see an easy way of
getting it to display data from a field...
 
As a guess:
How about:
http://www.databasedev.co.uk/access_web_page_viewer.html

you do this:
- create a valid htm file (based on the html data you have stored)
- change the address to point at this file in the web viewer control

Example:
I downloaded their sample from the url above
I entered C:\accessexamples\databasedev\downloads.htm into the address and
it displayed my downloads.htm file on my C: drive.

I was interested in this post becuase I might need to do this for one of my
apps where I let users build html emails and I need a previewing mechanism
(data is stored in the database).

There are probably other controls that can display html or you could launch
a browser with the url for the file on your C: drive (then you wouldn't need
the control). pros and cons each way.

HTH,
Mark
RPT Software
http://www.rptsoftware.com
 
Back
Top