Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to catch an error within an error handler in VFP6
Message
 
To
10/11/2004 01:26:15
James Chan
Objectmastery Pty Ltd
Hawthorn, Australia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00959865
Message ID:
00959899
Views:
9
There is no sucha a exception handler in VFP 6. But You can manage it by old & tesed way:
old_error = ON("ERROR")
fl_error  = .f.
ON ERROR fl_error  = .t.
Do Whatevr You want
ON ERROR &old_error
IF fl_error
   ** Manage Error here
ENDIF
>I know I can use Try..Catch in VFP8. How about VFP6?
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform