Page 1 of 1

Reading RTF file

Posted: Wed May 09, 2012 6:49 pm
by NigelS
Hi All

How do I load a RTF file into a field without the control characters showing. I've tried using

Code: Select all

put url("binfile:" & tMessageTitle) into field "MessageText"
and

Code: Select all

put url("file:" & tMessageTitle) into field "MessageText"
Thx

Re: Reading RTF file

Posted: Wed May 09, 2012 7:05 pm
by bangkok

Code: Select all

put url("binfile:" & tMessageTitle) into myFile
set the rtftext of fld "MessageText" to myFile
:)

Re: Reading RTF file

Posted: Wed May 09, 2012 7:11 pm
by NigelS
Thank you... while I was away I tried something else after reading a little and resolved it. As they say in the IT industry. R.T.F.M.
But I do appreciate your reply.