Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DBF Files Frequently Becoming Readonly
Message
From
01/04/2013 06:36:02
 
 
To
01/04/2013 04:47:21
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01569625
Message ID:
01569627
Views:
103
Note that this does NOT happen by itself, some of Your code does this.

First of all, make sure that you have Exclusive=Off in your config.fpw file. Secondly make sure that you never include any DBF in an exe or an app. And last, if you open a table more than once, the attributes you used the first time will be the active attributes on subsequent uses of the table. In an application you normally don't open a DBF exclusive, in my applications I NEVER do.

You only need exclusive access to a DBF when you want to create an index tag, or when you want to pack the table. Both of these commands should ONLY be used in a maintenance program which is run once or twice per year, not more often than that.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform