Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Alias() of Error
Message
 
 
To
19/03/2000 10:48:48
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00347601
Message ID:
00347680
Views:
22
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform