Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Check for Exclusive Use
Message
From
13/07/2005 23:25:17
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01032489
Message ID:
01032501
Views:
17
Thank you sir! I didn't even know about the IsExclusive function.

Aloha,

James

>>
>>Is there a way to check if a table is being used EXCLUSIVE?
>
>
* Check if table is open exclusive by current application
>IF ISEXCLUSIVE("mytable")
>  ...
>ENDIF
>* Check if table is open exclusive by something else
>TRY
>  USE mytable EXCLUSIVE
>CATCH TO oErr WHEN oErr.ErrorNo = 1705
>  ...
>ENDTRY
>...
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform