Difference between revisions of "ISLOCKED()"

From Recital Documentation Wiki
Jump to: navigation, search
 
Line 32: Line 32:
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Functions]]
 
[[Category:Functions]]
 +
[[Category:Manual Locking]]
 +
[[Category:Manual Locking Functions]]

Revision as of 08:52, 2 June 2009

Class

Manual Locking


Purpose

Function to test if current record is locked


Syntax

ISLOCKED()


See Also

ISALPHA(), ISLOWER(), ISUPPER(), LKSYS(), LOCK(), LOWER(), UPPER()


Description

The ISLOCKED() function returns .T. if the current record is locked by the current user, and .F. otherwise.. The ISLOCKED() function does not determine whether the current record is locked by another user, the LKSYS() function can be used for this purpose. The ISLOCKED() function is useful in validation and hot-key procedures.

Note: Recital automatically performs file and record locking, so in most cases the ISLOCKED() function need not be used with manual locking commands or functions.


Example

? islocked()
.T.


Products

Recital Database Server, Recital Mirage Server, Recital Terminal Developer