Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
RTF: how to get the formatted text from general fld.
Message
 
 
To
10/01/1999 04:19:11
Jean-Pierre Overbeek
New Limit Database Solutions
Amsterdam, Netherlands
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00174462
Message ID:
00174505
Views:
23
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...
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform