Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Locking & Buffering Question
Message
From
28/08/2001 16:03:42
 
 
To
28/08/2001 14:18:33
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00549965
Message ID:
00550033
Views:
25
This message has been marked as a message which has helped to the initial question of the thread.
SNIP
>From a "best practices" POV, are you better to :-
>
>A) LOCK all candidate records first and THEN process all of the locked records.
>
>or...
>
>B) Buffer the table and individually lock/process each candidate record in sequence (or abort the whole job when a record lock cannot be achieved) and depending on a success flag, TableUpdate() or TableRevert() the buffered data.
>
>I am taking about a "free table" updated from a processing program. There is no View involved and this operation is running in a SESSION CLASS subclass.
>
>Any advice would be very much appreciated.

I just want to remind you that RLOCK() can handle multiple records. That might make it a bit easier or give you more confidence.

good luck
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform