>For some reason our on error event is not firing. I even tried setting step on and typing "on error" in the command window prior to the line of code that should have issued the error? When this didn't work I typed "on error" on the line preceeding the line of code that should have issued the error.
>
>Many thanks.
Maybe I'm missing something but "on error" turns off any error handler in effect and switches back to VFP error handler.
--sb--