>
>When you issue "do (cPrgFile)" you're actually instructing VFP to run a .FXP, not a .PRG. Your development machine will do this automatically but not the runtime environment UNLESS it's VFP6 SP3 or higher, in which case you can make use of COMPILE:
cPrgFile = "c:\temp\common\sql.prg"
><b>COMPILE (cPrgFile)</b>
>do (cPrgFile)
>
You are quite correct. I now officially worship the ground you walk on.
Thank you.
Best Regards
Don Simpson