Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
RTF & Memo file...
Message
From
09/04/1998 16:07:46
 
 
To
09/04/1998 07:22:01
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00090701
Message ID:
00090908
Views:
23
>Mark,
>Going strictly from memory here. . .
>
>The Help for RTFText mentions that one *cannot* directly 'bind' (my term) a memo field, so it suggests, and gives an example, of assigning the memo to a memvar and using the memvar.
>
>Good luck,
>Jim N
>
>>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


Jim,

Thanks for the reply / input. I'll keep working on it.

Mark
Previous
Reply
Map
View

Click here to load this message in the networking platform