Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error message from number
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00468523
Message ID:
00468566
Views:
16
>Methinks I am not being clear today. :)
>
>My whole objective was to avoid having to write a procedure to handle the error. Because this isn't a global error handler, and only used by a snippet of code, I wanted to just have the error assigned to a global variable and process it within the snippet itself.
>
>Since there is apparently no built-in function to retrieve the error message, and I know no way to assign different values to two variables in the same line, I'll just write the error handler program.
>
>Thanks,
>
>Michelle


Try
on error AERROR(aErrorArray)
Then you have aerrorarray(1,1) as errornumber and aerrorarray(1,2) as message
Previous
Reply
Map
View

Click here to load this message in the networking platform