Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Multi-User environments and Record Locking
Message
 
À
19/06/2001 04:39:04
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00520882
Message ID:
00521143
Vues:
17
Pessimistic is the most secure, but you run the risk of someone begining an edit then walking away locking everyone else out on the network. Optimistic locking is a better idea. The record is not locked until you attempt to save changes. If someone else on the network made a change while you were editing, you can trap it. The Developers Guide has some excellent examples of conflict resolution and other multi-user issues.

IMO, you should always Table buffering, so if the record pointer moves, you don't automatically update the underlying table.

Charlie
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform