Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Use file exclusive question
Message
From
22/07/1999 11:21:04
 
 
To
22/07/1999 10:38:51
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00244710
Message ID:
00244751
Views:
16
>What is the proper way to tell if someone else is already using a table? See if you can do an flock()? A "use filename exclusive" and check for an error?
>
>Thanks

The only way to reliably get a table EXCLUSIVE (note this is different than FLOCK()) is to try to USE table EXCLUSIVE and trap the error in an ON ERROR routine if someone else has the table open.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Reply
Map
View

Click here to load this message in the networking platform