Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Converting memo contents to general
Message
De
26/05/2006 11:14:50
 
 
À
26/05/2006 11:10:06
John Faithfull
Hunterian Museum, University of Glasgow,
Glasgow, Royaume Uni
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Divers
Thread ID:
01125294
Message ID:
01125295
Vues:
18
My best advice is to avoid general fields, AT ALL COST! Use a binary memo field in stead,

>Hello folks,
>
>Thanks very much for the assistance so far. Last enquiry before the weekend.
>
>For various reasons, I need to use the horrible General field type to hold RTF text so that it will print formatted on a report...
>
>However, the RTF editing form control can only use a memo field as control source...
>
>So after editing I need an explicit way of updating the General field contents with any revised memo contents. General fields seem a pain to populate.
>
>Following recommendations, I've tried this in the RTF box lostfocus method:
>
>=strtofile(notes,"oot.rtf")
>append general gnotes from "oot.rtf"
>
>However unsurprisingly, this is grindingly slow and makes the navigation really clunky.
>
>I've tried playing with the append general command to find a way of directly writing a string without writing it to disk, but so far without joy. It seems as though there must be a way to do this. Is there?
>
>Thanks in advance
>
>John
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform