>Hello,
>
>For any reason, a long running process sometimes stops and display the 'Open dialog' window, so I need to trace this problem.
>
>
>How can I avoid the process to stop by using a Try/Catch structure and keep some log or notify me by email, etc.
>I have been testing, but the error is trapped after I press ESC on the 'Open dialog', not before.
>
>Is it possible to avoid this default behaviour of Foxpro asking me to locate a file?
>
>Thanks.
>
>
>Juan C.
VFP9 has the SET TABLEPROMPT command. You probably need to figure out why your table isn't open if since you're using VFP8 or you'll need to upgrade.