>Why the following will not work?
>
>------------------
>USE NetWorkTable IN 0 EXCLUSIVE ALIAS MyTable
>
>&& if previous command failed - to avoid the error with ISEXCLUSIVE()
>IF USED(MyTable)
> IF ISEXCLUSIVE(MyTable)
> && table opened exclusive
> ELSE
> && table opened shared
> ENDIF
>ELSE
> && table NOT opened
>ENDIF
>-----------------
USE NetWorkTable IN 0 ALIAS OtherTable
if used('myTable')
if isexclusive('mytable')
Or
USE NetWorkTable IN 0 EXCLUSIVE ALIAS MyTable
was done in another private datasession.
Cetin