Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Saving the contents of a method
Message
From
17/08/1998 16:11:43
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00127523
Message ID:
00127529
Views:
29
Hi Sandy --

>
>In that we are constantly upgrading the contents of a certain method, I would like to save the contents of the this method in a memo field of a table.
>Any ideas on how to accomplish this would be greatly appreciated.
>

Method code is already stored in a memo in whatever metadata structure supports the object. For example, form method code (and code within form objects unless at class-level) is stored in a memo field called Methods in the file {formname}.SCX.

Manually, you could open up your new backup table with your method storage memo field and open the SCX file (or VCX) and simply use the REPLACE command to shift method code to the backup table.
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Previous
Reply
Map
View

Click here to load this message in the networking platform