Hello there , i want to use in my app a error handeler but i wanna do it in a global way , not only for something specific ... is there a way of doing this ?
:D :D :D :D :D :D :D :D :D :D :D :D :D :D
Printable View
Hello there , i want to use in my app a error handeler but i wanna do it in a global way , not only for something specific ... is there a way of doing this ?
:D :D :D :D :D :D :D :D :D :D :D :D :D :D
No, not really, but what I do is to put an ErrorRoutine in each of my procedures, and in that error routine I call a CommonErrorRoutine passing it the name of the calling procedure (unfortunately you have to hard-code the name). Since the Err object is global, CommonErrorRoutine can display messages or do whatever you want with Err.Number, Err.Description, etc.
------------------
Marty
What did the fish say when it hit the concrete wall?
> > > > > "Dam!"