Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error Handling Priority
Message
De
02/10/2013 09:30:51
 
 
À
30/09/2013 11:53:24
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01584109
Message ID:
01584675
Vues:
45
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
Fil
Voir

Click here to load this message in the networking platform