HTML--display on a form

  • Thread starter Thread starter Al Kaufman
  • Start date Start date
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 form. 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
 
Please do not multipost rather cross post to all relevant NG's at once.

I have answered this post in one of the other NG's you multiposted to
but do not remember which one.

--

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

Please forgive the poor manners. Two things: first, can you explain what
cross post means and second, if you come across your response, please let me
know where it is. I multiple posted at access.activexcontrol, access.forms
and access.reports. Your suggestion to cross post instead of multipost is
at each one; however, I could find no answer to my original question at any
of them.

Thanks for the help,

Al
 
No problem Al. We were all first timers at one point. I have detailed
some info below my answer to you that I posted in Reports. By
crossposting all replies are tied to a single thread of discussion. All
answers will be available in all of the NG's within the thread. THis
prevents a duplication of services whereby for instance I might post a
solution in Reports while someone else goes to the trouble of posting
another or the same solution in Forms.
For those of us that help out in the NG's there is nothing more
infuriating than taking the time to detail a response and then coming
across the duplicate post, seperately multiposted in another NG and
perhaps someone else has already posted an answer. As I rule, I and many
others will simply ignore multiposted questions. This limits your
possibility of receiving a response.

You should learn to search GoogleGroups as it is an extremely valuable
resource.
http://groups.google.com/groups?as_q="Al Kaufman"&safe=images&as_u
group=*access*&as_scoring=d&lr=&num=100&hl=en


From: Stephen Lebans
([email protected])
Subject: Re: HTML--display on report

View this article only
Newsgroups: microsoft.public.access.reports
Date: 2004-12-02 17:22:15 PST


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






Here's a standard response from one of the MVP's regarding crossposting
vs multiposting.

If you feel you need to post to more than one group (HINT: it's seldom
necessary), please have the courtesy to cross-post (send the one message
to
all groups at once), rather than multi-post (send individual messages to
each group). In this way, all responses to your post will be available
together, regardless of what group the responder was in, and the rest of
us
won't have to read your post multiple times. (It also uses fewer server
resources)

I see you're using Outlook Express. Click the "Newsgroups:" label to the
left of the box containing the name of the current newsgroup. That will
open
a dialog that will let you add additional newsgroups to your post.

Note that it's generally consider to be A Bad Thing to cross-post to
more
than about 2 or 3 newsgroups. (In fact, at
http://www.microsoft.com/presspass/features/2001/Mar01/Mar27pmvp.asp
Microsoft suggests that "One group will suffice")

Our MVP Netiquette doc is here:
http://www.mvps.org/access/netiquette.htm

--

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