Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Locking : a strange problem with tableupdate ...
Message
 
To
24/03/2000 05:46:13
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00349900
Message ID:
00350432
Views:
21
Pascal,
The lForce parameter in TableUpdate() doesn't say whether a record is locked, but whether it has been changed by another user. If your command is "TableUpdate(2,.f.)" then any record which has been changed by another user will generate an error message, whether that user has the table open or not. "TableUpdate(2,.t.) says "Overwrite any other user's changes" .

HTH
Barbara

>Could a record remain locked even when there's no client anymore who keeps the lock ? If so how can this be tracked and/or resolved
>
>Let me explain what I bumped into, just 5 minutes ago :
>I have a program that executes a tableupdate(2,.f.) on a certain view. The update didn't work for only some of the records (mainly it works just fine), even if I was shure that no-one kept the concerning record(s) locked. When I performed a tableupdate(2,.t.), forcing the update it worked.
>How come ?
Barbara Paltiel, Paltiel Inc.
Previous
Reply
Map
View

Click here to load this message in the networking platform