Where this piece of code run from?
>Has anyone ever seen this problem before.
>
>IF USED("TableName")
> SELECT a
>ELSE
> SELECT b
>ENDIF
>
>After these lines of code Table c is selected. There is only one work area.
>We have a work around, because if you specify the work area in the select statement, it works fine. I would just like to know if anyone else has ever experienced this problem before. I mean, it is an if else statement, how in the world can c end up being selected. Thanks for any input.
--sb--