Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Running procedures stored in memo fields
Message
 
À
15/12/1999 11:24:40
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00304122
Message ID:
00304155
Vues:
31
>Does anybody know how to run code that is stored in a memo field in a table? The code isn't just one line either but may be an entire procedure or function. I considered saving the contents of the memo field to a temporary prg and running that but there has to be a more elegant solution.

About the only other thing you can do is make yourself a mini-interpretor - and read line by line and run the code. But, if you have any complex commands (more than one line), it won't work.

Writing to a temporary file should work... I've seen it done in the past.


HTH
Wayne Myers, MCSD
Senior Consultant
Forte' Incorporated
"The only things you can take to heaven are those which you give away" Author Unknown
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform