Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Data Buffering, Pessimistic & Optimistic locking and suc
Message
De
20/12/2006 08:41:26
 
 
À
14/12/2006 09:32:52
Mike Yearwood
Toronto, Ontario, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01177438
Message ID:
01179172
Vues:
13
>>Ok, that makes sense.
>>
>>Under the following scenario:
>>
>>User 1 adds 4 detail lines
>>User 2 adds 3 detail lines
>>User 2 saves changes.
>>User 1 attempts to save but is not able to because header record has
>>been changed by user2 save.
>>
>>Since everything for user1 would rollback, they would have to reenter all detail lines
>>again. Is that correct?
>>
>>Thanks again.
>
>The detail lines would still be in the cursors/buffers. They could edit things and hit save button again.

Just wonder:-

let say total_qty = 20
if 10 computer at the same time hit save :
replace total_qty with total_qty - 1

some fail while some success, will total_qty still have the correct answer ?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform