>Hi
>I want to check if the database open.
>When I used with 'dbused' I get .f. (not open) even when it's open by other user network.
>PS
>There is such command for check if tables exclusive?
Check with try...catch
TRY
USE e:\...\YourdataBase.dbc EXCLUSIVE
...
some code
...
CATCH
MESSAGEBOX("The Database is open")
ENDTRY
_______________________________________________________________
Testing displays the presence, not the absence of bugs.
If a software application has to be designed, it has to be designed correctly!
_______________________________________________________________
Vladimir Zografski
Systems Analyst