Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Check for Exclusive Use
Message
 
 
To
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:
01032503
Views:
15
You're welcome.

>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
>>...
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform