Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error handler doesn't fire
Message
De
15/02/1999 18:09:43
 
 
À
15/02/1999 16:46:28
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00187748
Message ID:
00187858
Vues:
20
>>I'm using the command CLOSE TABLES ALL in a form's method
>>
>>The line causes the error "Cannot access selected table"
>>
>>My error handler should fire but does not...
>>
>>Any ideas why?
>>
>>TIA
>
>The form's Error method takes precedence. It's always firing the Error method of the object whose code made the error, then its parent's etc. ON ERROR works for things done from menus, .prg files etc. Don't know if it will fire if your objects' Error event code is empty all the way up to base classes.

So should I put an ON ERROR clause in my base classes? I want my error handling to fire under *any* error condition.

Thanks
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform