Interesting method, thanks. Is it possible to clear the statement queue to change the error-handling code? Such a statement might reasonably be called POP. I could not find anything in the help.