DRW & HTML

L

lefty

I have a database that has html stored in a field with text from a rte.
I want to use the drw to pull the textarea or memo field but not in html.

ex. <p> this is a test </p>

want to change to ex. This is a test

something to do with htmlEncode?
 
T

Thomas A. Rowe

You will have to strip the html tags out of the text area manually in the database, otherwise you
would have to write custom ASP/VBScript to do this each time the field is displayed.
--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================
 
K

Kathleen Anderson [MVP - FrontPage]

In Design View, right-click on the field, choose Database Column Value
Properties and check the box that says: Column value contains HTML.
 
T

Thomas A. Rowe

I guess the real question is: Does the original poster want to hide the tags themselves from being
displayed or have the tags processed by the browser, i.e., <b>text</b> would display the word "text"
in a bold font?

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================
 

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