Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Optimistic Row Buffering, TableUpdate(.T.) and FLOCK()
Message
From
17/03/1999 11:58:52
 
 
To
17/03/1999 11:50:46
Ian Matthews
Up & Running Technologies Inc
Chestermere, Alberta, Canada
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00198612
Message ID:
00198618
Views:
21
Hi Ian ---

First off, is table buffering still on for the table when you try the RLOCK(). Secondly, what is failing and what is the error message?

Finally, RLOCK() and buffering doesn't always get along well....in VFP 3.0, for example, you had to issue a UNLOCK RECORD 0 after a TABLEREVERT() to unlock the header of a table.


>After I issue a TABLEUPDATE(.T.), records that are no longer being viewed on tables with OPTIMISTIC ROW BUFFERING are failing at a:
>
>> IF RLOCK()=.t.
>> MESSAGEBOX(XXXXXXX)
>> ENDIF
>
>routine. Apparently they are not being unlocked. Why is that? Do I have to use UNLOCK???
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform