You cannot supress errrors in the ON ERROR handler. I would suggest to use TRY...ENDTRY to handle it localy.
>I have a global event handler with ON ERROR goErrorHanler.ErrorEvent(ERROR().... )...
>
>In the ErrorEvent - I need to release one another global object.
>When I made RELEASE goOutlook EXTENDED - in the goOutlook - happens destroy event which also generate error.
>
>And I can't suppress FoxPro Error Message which happens in the Destroy event of this global object even if I use
>ON ERROR llError.. or put RELEASE goOutlook between TRY/ENDTRY
>
>Question:
>Why foxpro error message always appears? and how to suppress it?
>
>P.S.
>One strange moment - when I put SET STEP ON in the errorhandler - then - error in destroy suppressed good.
--sb--