OK, close each one independently by issuing:
IF USED('TABLE1')
USE IN TABLE1
ENDIF
IF USED('TABLE2')
USE IN TABLE2
ENDIF
and then when you step through it, which table creates the problem? Also, does it make a difference if you close the tables in the UNLOAD event instead (after issuing dedefault() in the unload event of course)?
>Hi Tracy:
>
>Thank you for your kind response.
>
>>Just BEFORE you get to the close tables line, are any tables still open in the view window?
>
>I placed the code you suggested in destroy event. Result: Yes, all teh tables are open before i get to the close tables line. The moment i step thru by clicking F8 at the close Tables line, I get the "Cannot access the selected table message".
.·*´¨)
.·`TCH
(..·*
010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"