You can't put a 'RETURN' inside the catch...you can set a flag there to alter behaviour from that point forward (after the ENDTRY).
>This is the first time I am using a Try Catch syntax. Today, I got an error in it and I got this message:
>
>Unhandled Structured Exception
>
>Here is the code:
>
>
>* We need to trap for possible errors
>TRY
> loHTTP.Send()
>CATCH
> RETURN
>ENDTRY
>
>
>What is wrong in that?
Steve Gibson