>It is no problem, to store a compiled program in a binary memo field, copy it to a file during runtime (comma.FXP) and execute this file with "do comma.FXP"
>
>Is there any possibility to run such a compiled code directly from a field in a database and omit the copy process?
>
>Thanks in advance
Peter,
In VFP7 I did that with keeping a zipped (or encrypted) copy of source, unzip and execscript() (in older versions codeblock.prg). But I got my lesson not to do that with some code that has calls to other things like a 'do form', 'do something' in it.
BTW what's wrong with the 'copy' ? Execscript() does that behind the scenes.
Cetin