Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Use file exclusive question
Message
From
22/07/1999 11:12:56
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
22/07/1999 10:38:51
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00244710
Message ID:
00244742
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
It might be "you" too :) They're usable ways. Also :
handle=fopen(lcTable)
if handle < 0
* Check ferror() really because the cause
* might be something else - ie:wrong path
? "In use"
else
=fclose(handle)
endif
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform