Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
RTF: how to get the formatted text from general fld.
Message
From
10/01/1999 17:06:52
Jean-Pierre Overbeek
New Limit Database Solutions
Amsterdam, Netherlands
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00174462
Message ID:
00174528
Views:
31
Hi David and Christof,

Thanks for you reply, I got it working with a memo field!!! I'm a bit new to the general-field field, so thanks for your lesson and sharing your knowledge to me.
Jean-Pierre.


>Jean-Pierre
>
>You don't have to use a GENERAL field for this. You can use a plain MEMO field to store the rtf text. If you use the RTF control that ships with VFP you can just read/write to it's TextRTF property
>
>>APPEND GENERAL gRtf FROM C:\TEST.RTF
>>MODIFY GENERAL gRtf
>>
>>How do I get the formatted text out of this general field in the same format as the c:\test.rtf file (the readable ascii (with \par and \tab)), because I need to check for some words:
>>
>>
>>lcRtf=??????????? && Your solution goes here
>>if 'TEST'$lcRtf
>> ....
>>endif
>>
>>
>>An other way might be:
>>
>>EXPORT gRtf TO C:\TEMP.RTF
>>
>>and reed this file before the check, but I can't figure out how to export a general field...
Previous
Reply
Map
View

Click here to load this message in the networking platform