Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error handling in VFP 3
Message
 
To
18/07/1996 05:11:43
Mark Stanton
The New Software Company Ltd.
Watford, United Kingdom
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00004144
Message ID:
00004209
Views:
34
>It seems that not all our errors are being caught by our error
>handler, which is slightly distressing :-)
>
>Today a Fox error box got through the the user, complaining that
>"activeControl is not an object".
>
>Has anyone else seen this? Is it (as I hope) something we're doing
>wrong?
>It's a fairly plain vanilla handler in the same vein as 2.6 stuff,
>"on error do errHandProg.prg", and the handler is almos as simple,
>just calling a modal form which saves loads of stuff into an error
>table and asks the user if they want to continue, or not.
>
>Regards
>Mark

Mark

Remember your error Event (method) will fire before On Error & of there is an Error event it will over ride On Error.

Caution: If the Error Event only contains a remark it is still looked at as a error handling Event code & will try to do so.

If no Error Event then OnError files. Watch your debug window.

Tom
Tom
--------------------------------
Tom O'Hare
407-299-4268 -- tom@redtile.com -- http://www.redtile.com/
Independent Programmer Using Visual FoxPro, Visual Basic & more...
Operations Manager -- Virtual FoxPro User Group (VFUG)
http://www.vfug.org/ -- tom@vfug.org
President -- Central Florida FoxPro User Group (CFFUG)
http://www.redtile.com/foxpro/
Universal Thread Most Valued Professional (MVP)
http://www.transformation.com/foxpro/
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform