Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
On error
Message
From
10/08/2000 17:50:15
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00403712
Message ID:
00403715
Views:
14
ON ERROR MyErrorHandler()
or
ON ERROR DO MyErrorHandler
or
ON ERROR goObject.CustomErrorHandler()
** where goObject is a PUBLIC instance of a class.

You could also use the Error() event on an object. Bear in mind that anycode in the Error() event takes precedence over any existing ON ERROR instructions.

>What is the correct syntax for calling a method from the ON ERROR command? If this is not possible please advise.
Insanity: Doing the same thing over and over and expecting different results.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform