>Hi,
>
>I was told that there exists a file utility that allows you to execute a PRG externally from the '.exe'. I wish to create a table in an app that stores several prg's in memo fields and I want to execute this code from it. This code will be maintainable so it can't be compiled into the exe. The client will not have VFP on site so the prg must be able to be modified and run seamlessly. I would greatly appreciate it if anyone could point me in the direction of a file or routine that will assist me in this problem. Thanks much in advance.
>
>Bill Todoro
>WFT Data Services
As of SP3, you can COMPILE at run-time.
To do this with a memo field, e.g.
Select mytable
lcTempProg = ForceExt(ForcePath(Sys(2015),Sys(2023)),"prg")
Copy Memo memo_field To (lcTempProg)
Compile (lcTempProg)
Do (lcTempProg)
Insanity: Doing the same thing over and over and expecting different results.