Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DBF Files Frequently Becoming Readonly
Message
 
À
01/04/2013 06:36:02
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01569625
Message ID:
01569628
Vues:
61
>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.

It happens in some "unconscious way" when you back files up on a CD and then restore them. Just thought it worthwhile to mention.

If things have the tendency to go your way, do not worry. It won't last. Jules Renard.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform