General information
Category:
Coding, syntax & commands
>>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.
So should I put an ON ERROR clause in my base classes? I want my error handling to fire under *any* error condition.
Thanks
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only