>Hi,
>How I can trap error on command
>
>USE mytable EXCLUSIVE
>
>when another user is open this table ?
>
>Thanks.
>------------------------
>Krasimir Georgiev
>Sofia, Bulgaria
You can try something like
on error llIsExclusive = .T.
use mytable exclusive
on error
if llIsExclusive
else
endif
HTH
Caroline