General information
Category:
Coding, syntax & commands
Title:
Record lock problem
I'm a newbie working on my first multi-user app. and seem to be having a problem with Rlock(). The code I use to lock the record is something to the effect of:
? Rlock('Recno()', 'mytable')
If Rlock()
....
......
Unlock('Recno()', 'mytable')
else
wait 'Record is in use' wind
endif
If I run the above code on Recn() = 5 and try to lock Recn() = 6 on another workstation, the lock fails.
Any ideas?
Thanks.
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only