Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access
|
Access Discussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 1st, 2003, 04:39 PM
Registered User
 
Join Date: Dec 2003
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to LouSchweichler Send a message via MSN to LouSchweichler Send a message via Yahoo to LouSchweichler
Default Convert RTF Text to ASCII Text

  I have a table of comments. Some of the comments are generated on a web form using an RTF Input box. The contents of this RTF box is then saved to a SQL table into a field txtComment. When I attempt to create an Ad Hoc report using Access 2000, the report displays the RTF formatting tags along with the ASCII text. Is there a utility or Function I can use to "strip" out the formatting tags, ie <par>...</par>, and return only the ASCII text from the field for each record???.

Any assistance would be greatly appreaciated!

Thanks,
Lou

Lou Schweichler
 
Old December 3rd, 2003, 03:49 PM
sal sal is offline
Friend of Wrox
 
Join Date: Oct 2003
Posts: 702
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Are this tags just at the beginning and at the end of the string?




Sal
 
Old December 3rd, 2003, 03:50 PM
sal sal is offline
Friend of Wrox
 
Join Date: Oct 2003
Posts: 702
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Anyway, if the are, just do a Ltrim and RTrim



Sal





Similar Threads
Thread Thread Starter Forum Replies Last Post
Convert Text(Sql Server Text Field) to Image(JPG) srinivas72 ADO.NET 2 February 13th, 2009 06:31 PM
convert a RTF text into HTML tag gmbalaa General .NET 0 August 16th, 2007 04:06 AM
Report vs. RTF Text Cut-Off SerranoG Access 1 July 18th, 2005 03:14 PM
Write ASCII text file muklee C# 1 December 12th, 2004 09:40 PM
Reading ASCII data from text file. LordBeholder VB How-To 2 June 25th, 2004 05:50 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.