D
David
Hello All
I have been using local error handlers for some time now and for the first
time I have something that I feel I need to add as a global error i.e. a way
to handle database connectivity failure.
I thought about global error handlers and have read a few things on them.
All articles seem to be devoted to EITHER local OR global.
Is there anything wrong, programatically, with using both?
I currently use
On error goto err_???
err_???:
select case err.number
case ???
Dothis
Case else
Error MSG
I was thinking of putting a global handler into case else instead of
defaulting directly to an error message. I believe this will give me ability
to handle global errors easily without extra programming but flexibility to
handle local exceptions.
Thanks for your input
David
I have been using local error handlers for some time now and for the first
time I have something that I feel I need to add as a global error i.e. a way
to handle database connectivity failure.
I thought about global error handlers and have read a few things on them.
All articles seem to be devoted to EITHER local OR global.
Is there anything wrong, programatically, with using both?
I currently use
On error goto err_???
err_???:
select case err.number
case ???
Dothis
Case else
Error MSG
I was thinking of putting a global handler into case else instead of
defaulting directly to an error message. I believe this will give me ability
to handle global errors easily without extra programming but flexibility to
handle local exceptions.
Thanks for your input
David