Mike Yearwood
Toronto, Ontario, Canada
Hi Randy
To add to what Hilmar said, code is much easier to read when the names of the aliases are used instead of the work areas designators. Do you know A-J are used like SELECT 1, SELECT 2, SELECT 3?
>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.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only