Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
On error not firing
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00552535
Message ID:
00552561
Views:
15
>For some reason our on error event is not firing. I even tried setting step on and typing "on error" in the command window prior to the line of code that should have issued the error? When this didn't work I typed "on error" on the line preceeding the line of code that should have issued the error.
>
>Many thanks.

I noticed the similar behavior. For instance, the form, which has code in Error event, calls a program, which has these lines
local lcOldError
lcOldError=on('error')
on error do myErrorHandling
my code
on error &lcOldError
return
I noticed, that my own error messages were never shown, so the form Error event takes precedance.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform