>Marc,
> You can't rlock() buffered data.
Well it seems I can. :). Not to my full satisfaction, but it does work. You can lock a record in a buffered situation. What you cannot do to my surprise is to unlock only one out of a serie of records.
BTW, I thought I'd use the same buffering for all my tables at all times. Are you guys setting the buffering "a la carte?".
>If you set buffering to 2 - pessimistic record buffering or 4 - pessimistic table buffering the records will be buffered and they will be locked in the table for you so nobody else can modify them while you are editing. If you set buffering to 4 the header of the table will be locked which means nobody else can edit any records in the table while its locked. The whole point of buffering is so you don't have to manually use rlock() VFP does it for you.
Well I do not mind rlocking so much. I use buffering because I need the transaction management at save time, so I can roll back. Does a lot of good to my RI :).
Marc
If things have the tendency to go your way, do not worry. It won't last. Jules Renard.