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 John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Remove formatting tags from RTF field

Status
Not open for further replies.

Hillary

Programmer
Feb 15, 2002
377
US
Is there a good way to remove all formatting tags off of a RTF field so they don't display on the report? The RTF field I am using, I need to cut apart and only display part of it, when I use the InStr command the tag "/PAR" shows on the report. I used the "Replace" command but if the user puts in multiple enters the tag shows multiple times.



Hillary
 
The replace should replace all of them, so I'm not sure what the concern is?

You can always right click the field and select format field->Paragraph->INterpretation and change it to RTF, which will observe the RTF formatting.

Of course this is CR version dependent and you never take the time to post it...

-k
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top