>>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?
>
>Iterate through the data sessions using ASESSION() to get all current data sessions then DBUSED() to see if the database is open.
George,
I think it would not help to find out if the database is used by someone else.
I believe that the only solution is to use try/catch or use fopen() with 0.000001% possibility of a failure.
If it's not broken, fix it until it is.
My Blog