>Douglas,
>
>The syntax show is a valid one, but you can simplify your life doing all closing in just one line (this is that I use nowdays after picking this advice some time ago from here (from Alex Feldstein (if I recall correctly)):
>
>
use in select('TableA')
>
>No need for if endif...
Thanks for the tip. Will this work if TableA is not open?
Ken Wardwell