Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Global error routine
Message
 
To
04/01/2000 13:33:00
Michael Dougherty
Progressive Business Publications
Malvern, Pennsylvania, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00312532
Message ID:
00312878
Views:
33
>>Write a program to handle the logging of errors and call it with the ON ERROR command. Then make sure there is NO CODE in any ERROR event anywhere (the error event will override the ON ERROR routine).
>
>Is it true such that:
>On Error Do Error_Routine
>Do Form MyForm
>where-
>MyForm.control1.error = No code at all
>MyForm.control2.error = existing routine
>
>Case of:
>error in control1 -> Error_routine
>error in control2 -> existing local error event
>
>I think that is what you said, but i wanted to clarify.

Yes, that's true. The local error event of an object takes precedence over the global ON ERROR routine.
Previous
Reply
Map
View

Click here to load this message in the networking platform