>Hi at all,
>
>I am looking if there is any way to detect if a table normaly open shared is in use in a network, this because i need sometime to run a procedure to use functions not allowed on shared file (pack , alter table) and I need to know if any user has open the file shared because I need to open it in exclusive mode.
TRY
USE mytable EXCLUSIVE
CATCH TO oErr WHEN oErr.ErrorNo = 1705
ENDTRY
IF USED("mytable")
ENDIF
--sb--