Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error handler doesn't fire
Message
From
15/02/1999 16:46:28
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00187748
Message ID:
00187829
Views:
21
>I'm using the command CLOSE TABLES ALL in a form's method
>
>The line causes the error "Cannot access selected table"
>
>My error handler should fire but does not...
>
>Any ideas why?
>
>TIA

The form's Error method takes precedence. It's always firing the Error method of the object whose code made the error, then its parent's etc. ON ERROR works for things done from menus, .prg files etc. Don't know if it will fire if your objects' Error event code is empty all the way up to base classes.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform