Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Saving the contents of a method
Message
De
17/08/1998 16:11:43
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00127523
Message ID:
00127529
Vues:
31
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform