Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error Handling Priority
Message
From
02/10/2013 09:30:51
 
 
To
30/09/2013 11:53:24
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01584109
Message ID:
01584675
Views:
46
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
Previous
Reply
Map
View

Click here to load this message in the networking platform