Hi all,
I use the On Error goto ErrorHandler - event to handle an error in a procedure. In the ErrorHandler I fix the problem (refresh a link) and I return to the next position in the code by means of the Goto - statement. Then the code continue to perform the loop where the error happened. When the same error happens again however, the errorhandler doesn't work: I get the standardmessage that the error occured and I am given the opportunity to go to the code. Of course that's the last thing I want my users to do and anyway, I want the program to go to the errorhandler where the error will be fixed....what can I be doing wrong?
Thanks a lot in advance!
Greetings,
Dirk
dirk.news@yucom.be
I use the On Error goto ErrorHandler - event to handle an error in a procedure. In the ErrorHandler I fix the problem (refresh a link) and I return to the next position in the code by means of the Goto - statement. Then the code continue to perform the loop where the error happened. When the same error happens again however, the errorhandler doesn't work: I get the standardmessage that the error occured and I am given the opportunity to go to the code. Of course that's the last thing I want my users to do and anyway, I want the program to go to the errorhandler where the error will be fixed....what can I be doing wrong?
Thanks a lot in advance!
Greetings,
Dirk
dirk.news@yucom.be