Hi Steve ---
I haven't found a way in casual testing, but it seems more appropriate to nail down the source of the error and fix it rather than trapping the error.
>Is there any way to stop visual foxpro to bring up the dialog box prompting you to select a table when File is in use or other error messages?
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05