Griffiths, Richard
R.Griffiths at bury.gov.uk
Fri Mar 18 07:01:59 CST 2005
Hi Been out-of-office. No I could not find the property, maybe the version I am using is different. I did find a solution albeit long-winded (but effective). Created a ms access form with tb1 (standard text box with raw rtf stringed data), tb2 (rtf activex control) and tb3 (standard text box). Write a prog to move thru the underlying rs, for each record set focus on tb2, use sendkeys to highlight text and do a ctrl C to copy the data. Then set focus on tb3. Here sendkeys to ctl V to paste the data in did not work so I used a docmd to use the menubar to do a paste function into tb3. Et voila Richard -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 16 March 2005 09:35 To: accessd at databaseadvisors.com Subject: Re: [AccessD] Rtf to text Hi Richard Did you find out? /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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com