Information générale
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Network:
Windows 2008 Server
Hi Rich.
>Thank you Doug. But from the following code it seems that TRY/CATCH will take precedence for code in methods called from within the block, even if ON ERROR exists.
Oops, you're right. However, add this to the Error method of the form and run it again:
LPARAMETERS nError, cMethod, nLine
messagebox('in error method')
You'll see that the Error method fires and the code in the CATCH is skipped.
Doug
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement