Difference between revisions of "RLOCK()"
From Lianjapedia
Yvonne.milne (Talk | contribs) |
Yvonne.milne (Talk | contribs) |
||
Line 20: | Line 20: | ||
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
− | [[Category: | + | [[Category:Cursor Functions]] |
− | + |
Latest revision as of 07:47, 4 February 2013
Contents
Purpose
Function to lock record
Syntax
RLOCK([<workarea | alias>])
See Also
Description
The RLOCK() function attempts to lock the current record. If successful, it returns .T. and the record is locked. If the record is already locked by another user then it returns .F.. If the optional <workarea | alias> is specified, then the function will operate in the required location.
Example
do while not rlock() sleep 2 enddo