Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I check if a dbf is already open?
Message
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
01632847
Message ID:
01633040
Views:
68
>>Simple.
>>
llOK = .T.
>>try 
>>   use myTable Exclusive
>>catch to loexception
>>   llOK = .F.
>>   messagebox( 'Someone else is using the table!')
>>endtry
>
>OK, that sounds like what I need.... thanks for this.

You have to check for error 1705 specifically otherwise you'll hide any other errors
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform