>Hi Mark, thanks for the quick response.
>
>6.0, I should have said originally.
>StrToFile()--Er, yes, but that almost undoes the convenience. These programs change frequently, as do our customers's minds. Storing them in a table makes for easy updates and I thought, at least, low overhead. What are the ramifications of multiple simultaneous requests for the same report prg if it has to be compiled and run as an fxp each time?
>
>Laura
This only works with SP3. You still have the convenience of keeping your code in a memo field. You can create the prg, compile and run locally.
* create prg in temp directory - sys[2023]
strtofile(mytable.memofieldname, addbs(sys(2023)) + "temp.prg")
compile addbs(sys(2023)) + "temp.prg"
do (addbs(sys(2023)) + "temp.prg")
erase addbs(sys(2023)) + "temp.prg"
Mark McCasland
Midlothian, TX USA