>I need to find out where in my code a table is inadvertently
>being closed (or another table opened in its place).
>
>How can I trap for this?
>
>Thanks
you can add in the debugger a watch to used("myTable") and double click on the left of it, setting a breakpoint when the value of the expression changes
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?
"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare
"To die for a religion is easier than to live it absolutely"
Jorge L. Borges