Connecting Tech Pros Worldwide Forums | Help | Site Map

Displaying HTML on a report

Mike Turco
Guest
 
Posts: n/a
#1: Nov 13 '05
I have an Access database that holds a catalog and one of the fields
contains the HTML for the web page. The HTML code is very simple. I would
like to be able to display that HTML output on an access report. Is there
some kind of control that I can embed into the report so that I can see that
HTML?

Thanks,

Mike



Tom van Stiphout
Guest
 
Posts: n/a
#2: Nov 13 '05

re: Displaying HTML on a report


On Fri, 7 Jan 2005 00:26:39 -0800, "Mike Turco"
<miketurco@yahoo-nospam4me.com> wrote:

Try the Webbrowser control.
-Tom.

[color=blue]
>I have an Access database that holds a catalog and one of the fields
>contains the HTML for the web page. The HTML code is very simple. I would
>like to be able to display that HTML output on an access report. Is there
>some kind of control that I can embed into the report so that I can see that
>HTML?
>
>Thanks,
>
>Mike
>[/color]

Stephen Lebans
Guest
 
Posts: n/a
#3: Nov 13 '05

re: Displaying HTML on a report


I have never found a method/control for directly displaying and printing
HTML on a report. What you could do is use a hidden Web Browser control
on a form, load it up with your HTML, copy the contents to the
clipboard, ask the Clipboard for RTF, and then set an RTF control's
RTFtext prop on your Report.

--

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


"Mike Turco" <miketurco@yahoo-nospam4me.com> wrote in message
news:7JrDd.24643$Q%4.21869@fed1read06...[color=blue]
> I have an Access database that holds a catalog and one of the fields
> contains the HTML for the web page. The HTML code is very simple. I[/color]
would[color=blue]
> like to be able to display that HTML output on an access report. Is[/color]
there[color=blue]
> some kind of control that I can embed into the report so that I can[/color]
see that[color=blue]
> HTML?
>
> Thanks,
>
> Mike
>
>[/color]

Mike Turco
Guest
 
Posts: n/a
#4: Nov 13 '05

re: Displaying HTML on a report



"Stephen Lebans" <ForEmailGotoMy.WebSite.-WWWdotlebansdotcom@linvalid.com>
wrote in message news:%5WDd.206160$Np3.8682161@ursa-nb00s0.nbnet.nb.ca...[color=blue]
>I have never found a method/control for directly displaying and printing
> HTML on a report. What you could do is use a hidden Web Browser control
> on a form, load it up with your HTML, copy the contents to the
> clipboard, ask the Clipboard for RTF, and then set an RTF control's
> RTFtext prop on your Report.[/color]

I've been wondering about using the RTF control. Maybe I should generate an
html report and just shell out to explorer to open it up. Access is not
quite the right tool for that though.

In the meantime, I'm getting by with the text reports.

Thanks,

Mike


Closed Thread


Similar Microsoft Access / VBA bytes