Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Trapping one specific error
Message
From
02/01/2003 18:13:05
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00737411
Message ID:
00737550
Views:
19
Thanks Mike. This is what I was looking for. Although the doc doesn't show it working this way. Must be one of those undocumented features<g>.

Thanks everyone else who responded!
-- John

>>I can handle the trap part, but how do I turn around and send the non-trapped error to VFP?
>
>On error do errhnd with error()
>
>Proc errhnd
>lparam liError
>
>
>*-- Raise the error here
>error(liError)
>
>The new try/catch functionality in vfp8.0 would probably be a better solution for what you're trying to do, though.
-- John Kiernan
"Maybe Amelia Earhart was just stealing the plane".
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform