Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to handle errors
Message
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00586384
Message ID:
00586479
Views:
23
Off the top of my head: Trap the error in the error method, set a property of the object (class) to hold the error information -- AERROR() -- use the property to set the loResult.

USE MyTable
IF MyClass.lUseFailed && Error method sets lUseFailed property
loResult....
ELSE
.
.
.
ENDIF

HTH
Previous
Reply
Map
View

Click here to load this message in the networking platform