You can pass however many parameters to your error handler that you want. Just make sure you have enough parameters at the beginning of your error handler to accept all the passed values:
on error do MyErrorHandler with Error(), Message(), Sys(2018), Program(), LineNo(), Alias(), DBC(), etc.......
>Hi All:
>
>I have from time a issue that I can't resolve. EveryBody knows the rutine of handle error.
>
>SomeTimes you type a code like this:
>
>GO 1000 . &&But reccount()=500
>Then You get the Error 5 'The record it's out of interval' (I translate this error, because I work with Spanih version)
>
>What code can I type to know the alias() error? The function aerror(aMyArrayErr) create a Array and the aMyArrayErr[4] sometimes it's the number of alias in that occurs the error, but only in some errors.
>
>Are any way to always get the alias() in that occurs?
>
>Thanks in advance
>
>Fernando Molina
Mark McCasland
Midlothian, TX USA