Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
RTF & Memo file...
Message
From
09/04/1998 04:40:43
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
RTF & Memo file...
Miscellaneous
Thread ID:
00090701
Message ID:
00090701
Views:
61
Currently have an entire table with muchos text within a memo field type; it's all plain text, coming from another database program.

Goal is to convert to RTF, but still store in a memo field type. Anyone know of a way to import existing text from a memo field and update as RTF format?

Code from FP Advisor suggests the following in order to use a memo file with the RTF control:

**********
thisform.rtfcontrol.text = "any text here"
replace mynotes with thisform.rtfcontrol.textrtf
thisform.rtfcontrol.textrtf = mynotes
**********

This is fine if the memo field starts out empty. But what if there's already text within the field? What's the test for the type of text being 'rtf' versus plain text?

Thought about substituting 'any text here' with mytable.mynotes. This worked, but I can't seem to bind the control with the datasource mytable.mynotes due to a type, argument, or count error.

ANY suggestions?

Thanks!

Mark
mark@remarkable-systems.com
Next
Reply
Map
View

Click here to load this message in the networking platform