using Lebans' rich-text control

  • Thread starter Thread starter Michael Awad
  • Start date Start date
M

Michael Awad

Hi, I'm considering using Stephen Lebans' cool richt-text control at
www.lebans.com/richtext.htm
for our MS Access 97 & 2000 application.
Sometimes our users want the rich-text capability (such as for their
official reports), but other times they want to use MS Access to run
ad-hoc queries. Access queries obviously don't have rich-text
capability, so the formatting characters show up in the query results,
which makes the text more difficult to read.
Is there a way in an Access query (or using code) to create a
calculated field which is somehow smart enough to show just the plain
text without the formatting characters?
Thanks.
Mike
(e-mail address removed)
Tel. 215-713-0378
 
The answer is no. You need to pass the RTF encoded text returned by your
Query to an RTF parser such as an RTF ActiveX control. You can certainly
use an unBound RTF control, load the RTF encoded string and then ask the
control for the plain text representation of the original RTF string
data.

--

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