Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
USED() with non .dbf extension
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00276954
Message ID:
00277101
Views:
33
>>So I want to open the table exclusively. How do I tell if it's in use?
>
>You were on the right track earlier. Just do:
>
>
>nerror = fopen(cfilename)
>if nerror >= 0
>  =fclose(nerror) && It's available, so close it quickly and USE it!
>endif
>IOW, if nerror < 0, it's in use, and forget EXCLUSIVE open.

Hehe, that's exactly what I ended up with. Thanks Bruce.
Roi
'MCP' Visual FoxPro

In Rome, there was a poem.
About a dog, who found two bone.
He lick the one, he lick the other.
He went pyscho, he drop dead!
Previous
Reply
Map
View

Click here to load this message in the networking platform