[AccessD] Rtf to text

Gustav Brock Gustav at cactus.dk
Tue Mar 15 05:59:13 CST 2005


Hi Richard

It does:

Property Text As String
    Member of RichTextLib.RichTextBox
    Returns/sets the text contained in an object.

/gustav

>>> R.Griffiths at bury.gov.uk 15-03-2005 11:43:25 >>>
Hi
The  RichTextBox does not have a text property

-----Original Message-----
From: accessd-bounces at databaseadvisors.com 
[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav
Brock
Sent: 15 March 2005 10:26
To: accessd at databaseadvisors.com 
Subject: Re: [AccessD] Rtf to text


Hi Richard

The Text property of the RichTextBox contains the clean text.

/gustav

>>> R.Griffiths at bury.gov.uk 15-03-2005 11:24:30 >>>
Hi

I have a table (converted from Paradox) that has a memo field that
contains rtf data (ie rtf formatting and some readable text embedded).
I
am trying to extract the relevant text part.  I have created a Access
form that displays the raw data (raw1) and added a rtf activeX text
box
whose control source is the raw1 text box - this then shows the raw1
data correctly.

If I msgbox the activex text box the rtf data with formtting is
displayed - no good. If a add a further text box that references the
activex textbox then it simply shows the rtf raw formatted data. 

If I copy and pasted the activex data into a third textbox I can
msgbox
that correctly - but I have 6000 records so this will not do.

Any suggestions?

Many thanks

Richard




More information about the AccessD mailing list