Thank you sir! I didn't even know about the IsExclusive function.
Aloha,
James
>> >>Is there a way to check if a table is being used EXCLUSIVE? > >
* Check if table is open exclusive by current application
>IFISEXCLUSIVE("mytable")
> ...
>ENDIF
>* Checkiftableisopenexclusiveby something else
>TRY
> USE mytable EXCLUSIVE
>CATCHTO oErr WHEN oErr.ErrorNo = 1705
> ...
>ENDTRY
>...