Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Determin if an unopened table is used exclusive somewher
Message
From
09/07/1999 17:04:29
 
 
To
09/07/1999 16:58:34
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00239654
Message ID:
00239657
Views:
8
>Is there a function that states whether an unopened table is being used exclusively by another user somewhere? So far I can only check it with my error handler, but I would rather have a better option for some small utilities I am creating.....
>Thanx, Ryan.

I think using the error is the best way:
lcError=ON('ERROR')
ON ERROR *

USE ... EXCL

IF not USED(...) &&This will determine if it failed

ON ERROR &lcError
I don't know of any 1 line method, but using this just make one and add it to your frame work.
oApp.OpenDBFExcl(...)
I think I'll go do that right now!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform