> I have tried both ways: Including 'Procedure proc1....' in a file called procfile and including 'SET PROCEDURE TO procfile' in the main program. This way, the SET PROCEDURE command gives the error 'file procfile.prg not found' .
>
Try 'SET PROCEDURE TO proc1 IN procfile'. BTW, are you calling it immediately after this line ?
Alex.
MS,MCP