Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Table opened exclusive
Message
 
 
To
03/08/2001 16:12:24
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00539642
Message ID:
00539720
Views:
11
>Is there a way to check if a table is openmed exclusively?

In addition to Sergey's reply. If you want to check, if file is opened exclusive from another computer, you may just try to open it with low-level functions and close, e.g.
local lnHandle
lnHandle=fopen("yourfilewith fullpath")
if m.lnHandle>0 and fclose(m.lnHandle)
   * File is not opened exclusive
else
   * file is opened exclusive
endif
Or you can try to use it, but trap for possible errors.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform