Hi The way to it is as I said. One instance(I1) grabs the value let's say 27. The other instance(I2) also grabs 27. The instance I1 subtracts 1, Instance I2 adds 1. Instance I1 is updating, it locks the record grabs what is on disk using curvalue(), that's 27, so he adds 1. The second instance I2 locks to update, the curvalue() is 28, he substracts 1, we have 27 and everything is ok.
HTH, E. _______________________________________________ Post Messages to: ProFox@leafe.com Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.