Walter,
It's a very good JI *s*
I only use error handlers to handle true errors. If there is a need for defensive code that will prevent a possible error from occuring I always use it. IMHO error handling should not be part of the "normal" operation of the code.
>PMFJI, but there is one thing people should be aware off. The RI mechanism in the standard VFP RIBuilder (and my TaxRiBuilder for that matter) rely on the ON ERROR mechanism.
>
>If in an object with code in the error event triggers the RI code in the database, you'll have to handle the cases that error event fires because of errors in the RI procedure. I think this also has been pointed out by doug hennig in one of its articles on his website.
>
>Therefore I tend to use error events only in cases where absolutely needed and there where there is no chance of intermixing it with the ON ERROR handler.