using Lebans' rich-text control

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
 
S

Stephen Lebans

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.
 

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