Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Finding, if file is used exclusively
Message
From
04/10/2000 23:25:33
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00425134
Message ID:
00425146
Views:
22
All apps that I develop are written with the assumption that they will be run on a network with multi-user shared access to files. Thus, all tables are opened "shared", with a reprocess setting of 5 minutes. The only time that I use a table exclusive is in maintenance apps that need to do reindexing and packing, and in those I make sure that the table will never be used exclusively for more that 5 minutes. Thats also when I use FOPEN to make sure that the table can be opened exclusively.

This approach has saved me more times than I can count, because sooner or later all apps will probably be on a network in some form or another.

Hope this helps :)

-Rick
Previous
Reply
Map
View

Click here to load this message in the networking platform