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:
00271028
Vues:
23
>I just tested it with pessimistic table buffering and it gave me an error when I tried to update the second instance. Are you using a view

No, I'm not using a view.

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.
Alan Trosky
MIS Director
Pennsylvania Bar Association
Harrisburg PA 17108
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform