Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
File Locking
Message
From
28/11/2000 13:53:33
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
File Locking
Miscellaneous
Thread ID:
00446331
Message ID:
00446331
Views:
34
I have a file out on a server that people connected to the network use to add transaction records to. They add the records by USEing the file and appending from their local file. Several employees use this file, the append takes a minute or so...works great.


Periodically another user USEis it and reads the accumulated records into his local file for processing. Works great.

The number of users on the system now has greatly increased and every once in awhile two of them try to append to the file and one gets an error. What should be done to lock the file...Do I use the flock() function?


TIA
Chris
Next
Reply
Map
View

Click here to load this message in the networking platform