Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP 3.0 - Determing Usage of Opened Database
Message
From
16/04/1997 12:21:55
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00028557
Message ID:
00028558
Views:
42
>Any ideas how to determine is a database in use is opened shared or exclusively?

Cannot remind some direct way, but you could use DBSETPROP() trying to make some dummy change (e.g. change comment to some field). If DBC opened exclusively you will succeed, and set lExclusive=.t., if not you should be stopped by some error code. Trapping this error, you resolve the problem (lExclusive=.f.).
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform