I have not tried this, but I thought you could build the .prg into an .exe and execute the .exe through the system stored procedure xp_cmdshell.
>Hi All,
>
>Does anyone know if it's possible to execute a FoxPro program/routine (.prg)
>form within the SQL stored procedure ?
>If it is possible can anyone provide a simple example ?
>
>Thank you,
>Daniel M.
Chris McCandless
Red Sky Software