Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Saving memory
Message
From
26/05/1998 10:39:08
Mark Hall
Independent Developer & Voip Specialist
Keston, Kent, United Kingdom
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00101903
Message ID:
00101906
Views:
29
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform