Chris,
ISRLOCKED() only checks if the current VFP instance has the record locked. As you've noticed this function doesn't work if another VFP instance has placed an RLOCK(). Here's what you could do:
lnSetReprocess = SET("REPROCESS")
SET REPROCESS TO 1
IF RLOCK()
UNLOCK
ELSE
ENDIF
SET REPROCESS TO (lnSetReprocess)
HTH
>Hi Daniel - I am trying your suggestion of locking the users record but whatever I seem to do it allows the same record to be locked - in other words a ISRLOCKED returns .f. on the previously locked record. Any ideas?
Daniel