Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Attempting to lock
Message
De
17/01/2008 13:32:30
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01282563
Message ID:
01282731
Vues:
9
Buffering = 5 will not always save the record. You will get an error (unless you force the update, which should be used with care) if somebody else have modified the record before you.

Programming for a multi-users environment is a complex topic and should be carefully planned before starting the development, unless it's an add-on to an existing application. I suggest that you take a look at the topic "Programming for Shared Access" in the help.

>I think I know enough not about buffering in cursors
>
>(please let me know if I am wrong)
>
>The summary is:
>
>Buffering = 5 will always save the record, but it can generate error
>in the records
>
>Buffering = 4 will not allow 2 users writing at the same time
>
>I can use rlock () to prevent error message and have my own message
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform