Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cannot RLock()
Message
 
 
À
06/06/2002 11:51:36
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Divers
Thread ID:
00665258
Message ID:
00665662
Vues:
24
Ooops! I sent my original reply to myself and not sure how to delete it. )-:

Doug,

>>When you're in a transaction, VFP manages all the locks it needs on the table, so it's already locked the record for you. Any reason why you're doing the RLOCK() yourself?<<

Should optimistic row buffering be enough to prevent concurrency errors? I have several users who scan garments simultaneously and it is very possible that at any given time they would be working on the same group of items and thereby updating the same record, which contains summary counts. I am worried that if two or more users can grab the same record at the same time, since only one of them will be able to save first, someone's change could be overwritten by the other user. Depending on who gets to save his work first, the counts would come up short. I have been thinking about pessimistic buffering but I might encounter similar problem that I am already having with rlock(). I need some more guidance, please.

Thank you,
Evelyn
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform