Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Buffering
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00270717
Message ID:
00271028
Views:
25
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform