Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dbused in other work area
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01281470
Message ID:
01281502
Views:
6
>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform