Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Pessimistic row buffering
Message
 
To
08/12/1998 13:18:46
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00164758
Message ID:
00165255
Views:
14


>>>>>You should make a choice: if you use RLOCK() then you don't need in buffering at all.
>>>>
>>>>I wouldn't say that Ed. You still need buffering to use TABLEUPDATE() and TABLEREVERT().
>>>
>>>If you use RLOCK(), then you need in neither buffering nor tableupdate/revert. If record is locked by you, then nobody else will change it, right? So, what helpful information you may get from buffer?
>>
>>You still need buffering to allow the user to save TABLEUPDATE() or discard TABLEREVERT() the additions/modifications to data.
>
>No, as long as I use unbound controls.

True, however your statement "if you use RLOCK() then you don't need in buffering at all." is incorrect. Using unbound controls is eliminating the need for buffering but this has nothing to do with using or not using RLOCK().

When using databound controls you have to use buffering to use TABLEUPDATE()/TABLEREVERT(). RLOCK() has nothing to do with this either.
Colin Magee
Team Leader, Systems Development
Metroland Media Group Ltd.
Mississauga, Ontario, Canada

cmagee@metroland.com

Never mistake having a career with having a life.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform