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:
00304188
Vues:
30
>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.

Mark,

Chcek teh files here for a reference to codeblock, that will help you in what you are trying to do. Short of using Codeblock, in version prior to VFP 6.0 SP3, you cannot run a PRG in the runtime environment because ther3e is no compiler to compile the code in the runtime.

SP3 added the COMPILE command to the runtime library, so you can:
COPY MEMO MYMemo TO Temp.prg
COMPILE Temp.prg
DO Temp
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform