Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Executing Code From A Memo Field?
Message
 
À
19/03/1998 14:12:28
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00085742
Message ID:
00085749
Vues:
27
>>I'd like to put some lines of code in a memo field and have them executed somehow. Has anyone tried anything like this? Is it possible? I'm stymied over how I might approach this.
>
>It's doable...assume table with Memo field is codedata.dbf..fieldname=codememo
>
>USE codedata
>GO TOP ...or otherwise positon the record
>COPY MEMO codememo TO codetest.prg
>DO codetest.prg
>DELETE FILE codetest.prg
>DELETE FILE codetest.fxp


Hmm..that was too easy. Why didn't I think of that? Sometimes I wonder if I'm not going through premature senility.

Michael G. Emmons
memmons@nc.rr.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform