Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Hierarchy of Error Handling
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00083859
Message ID:
00083969
Views:
26
>I still don't have a firm grasp on error handling in VFP. In previous versions of FoxPro I would have a PRG that contained all error handling and each program would contain an ON ERROR statement pointing to that PRG. In VFP there are ErrorEvent methods on control and on forms and you can have an ON ERROR routine as well.
>
>I've discovered that certain errors don't go to my error handler even with ON ERROR. It seems like it is going through .ErrorEvent and giving VFP defaults since I have no code there.

Hi Colin,

I have not changed my handling of Error since 2.6. I've not been in a situation where the global ON ERROR failed me. The Error Handling routine _is_ the only straight procedure left in my projects, but I can live with that :). I'm surprised that you found that some errors do not go to your error handler. Might I ask whish they are?

Marc

If things have the tendency to go your way, do not worry. It won't last. Jules Renard.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform