Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Saving memory
Message
De
26/05/1998 10:39:08
Mark Hall
Independent Developer & Voip Specialist
Keston, Kent, Royaume Uni
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00101903
Message ID:
00101906
Vues:
27
>Hello All,
>I'm in the process of creating an error handler and we've decided to ssave the info to a table. I would like to save the memory as well to a memo field but I don't seem to find the right command. Any help would be greatly appreciated. Thanks.

Hi,
You can use
SAVE TO MEMO fieldname

to save all user memory variables, or if you only need to save certain variables, you can add the clause ALL LIKE, e.g.
SAVE TO MEMO fieldname ALL LIKE lcAddr*

To restore the values, use
RESTORE FROM MEMO fieldname ADDITIVE

Use the ADDITIVE clause or the newly restored variables will replace any existing variables.
Regards
Mark

Microsoft VFP MCP
Menulib - OO Menus for VFP www.hidb.com/menulib
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform