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

Click here to load this message in the networking platform