Hi Guys,
>To add to what Mike said, you should keep the error traping code in the Error() method of the form, but remove the ON ERROR in the Click() event of the button.
Paul, If you're planning on making an industrial strength error handler, the Error() method in you're base classes for every control should be in sync with you're global error handler, passing on problems the object itself is not ready for. Check out the error handling article at
www.stonefield.com is you wish to pursue this type of behaivor.
>The current object Error() method is allways the first method fired after an error has occured.
If Error() is not blank
>The ON ERROR may prevent the form from closing by keeping a reference to it.
Extremely good point.