Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
RTF & Memo file...
Message
De
09/04/1998 07:22:01
 
 
À
09/04/1998 04:40:43
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00090701
Message ID:
00090716
Vues:
19
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform