Hi All
I have found the issue. If there is an ON ERROR in effect then RLOCK() will just return .F., if the record cannot be locked, without any message on the status bar. Interesting that the ON ERROR routine itself is *not* actually called. It is simply a case of if there is an ON ERROR defined that affects the behaviour of RLOCK().
Repro:
ON ERROR X=1
USE myFile SHARED
GO TOP
? "Instance #1"
? RLOCK()
=INKEY(0)
Thanks to all.
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.