Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Remove html tags

Status
Not open for further replies.

jojo11

Programmer
Joined
Feb 2, 2003
Messages
189
Location
US
I have a report fields which can contain html text from an sql varchar column. When I choose the option to render the fields as html (actually rich text), it does, but the way the user originally entered it makes it take up too much realestate on my reports due to the <BR> tags and what not.
I can, as an option remove the html tags and only display the text as they said that would be acceptable.
However first question is what is the best way to do that. I want to strip the tags in SQL, but I guess I could do it in a formula if need be.
Second question is if someone else has fun accross something like this before, and if so, what did they do about it.
Thanks

-------------------------------------------
Ummm, we have a bit of a problem here....
 
Why not use HML formatting instead of RTF?

If you post technical information, such as the version of your software and the database you'll tend to get better answers.

you might also replace the HTML tags with other tags to change the formatting, or truncate the output, you have lots of options.

-k
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top