C
ChUIMonster
Guest
I strongly advise you NOT to pursue programming that uses _LOCK. Yes, it is better in 11.4+. But it is still not exactly lightning fast and there are plenty of pitfalls to be found. And if anyone running something older than 11.4 runs your code it will not be pretty. I think you would be better off lobbying for the LOCKED-BY() imaginary 4gl function. The 4gl clearly knows which user has the record locked and is able to immediately provide this information in that delightful error message that such and such a record is locked by so and so on device such and such. 99.44% of all temptations to use _LOCK would vanish if LOCKED-BY() were an actual 4gl function.
Continue reading...
Continue reading...