Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Pessimistic record lock
Message
De
17/10/2003 12:38:10
 
 
À
17/10/2003 12:13:07
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00839000
Message ID:
00839828
Vues:
22
You could use the user's login ID as a lock flag. If the field is empty, then the record is unlocked. If it's not empty, then only the user who has locked it can unlock it from any station (or an admin).

The locking/unlocking should be done in one session on one station however. The scenario you mention could be used if the user's computer crash.

HTH

>How do I keep the current lock specific to a perticular user. Is there a unique connection # or something I could use so that only the one user that updates the field can reset the field even if the same user logs into SQL from another station with same id ?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform