>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.