Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Global error routine
Message
 
À
04/01/2000 13:33:00
Michael Dougherty
Progressive Business Publications
Malvern, Pennsylvanie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00312532
Message ID:
00312878
Vues:
32
>>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform