Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Buffering
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00270717
Message ID:
00271053
Vues:
26
Can you tell me the exact sequence of event? Like:

- User A press Edit
- User A modify a field
- User B press Edit
- User B modify a field <== You should get an error at this point

Note that if User A save it changes before User B change a field, there will not be an error. Also, the edit button doesn't do anything. Maybe you should try to lock the record yourself in the Edit button.
>I still don’t get it. I have the same record begin edited in two different sessions at the same time. My code is:
>
>Set Exclusive Off
>Set MultiLocks On
>Use Main
>CursorSetProp("Buffering",4)
>
>When I click on the Edit button, I don’t do anything special. I just enable the bound txtBoxes and SetFocus to the first one. I make a change and click update. My update click procedure does:
>llUpdate=TableUpdate(.F.)
>When I click on the second session’s update button, I don’t get any error, it just changes the fields to reflect the new values updated in the first session.
>
>In both sessions then value of llUpdate is .T.
>
>It’s got to be something I’m doing wrong. If anyone can help I’d appreciate it.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform