Difference between revisions of "ISLOCKED()"

From Lianjapedia
Jump to: navigation, search
 
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
==Purpose==
 
==Purpose==
 
Function to test if current record is locked
 
Function to test if current record is locked
 
  
 
==Syntax==
 
==Syntax==
 
ISLOCKED()
 
ISLOCKED()
 
  
 
==See Also==
 
==See Also==
[[ISALPHA()]], [[ISLOWER()]], [[ISUPPER()]], [[LKSYS()]], [[LOCK()]], [[LOCKINFO()]], [[LOWER()]], [[UPPER()]]
+
[[ISALPHA()]], [[ISLOWER()]], [[ISRLOCKED()]], [[ISUPPER()]], [[LKSYS()]], [[LOCK()]], [[LOCKINFO()]], [[LOWER()]], [[UPPER()]]
 
+
  
 
==Description==
 
==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() or LOCKINFO() functions can be used for this purpose. The ISLOCKED() function is useful in validation and hot-key procedures.
+
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() or LOCKINFO() functions can be used for this purpose.
 
+
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==
 
==Example==
Line 23: Line 17:
 
</code>
 
</code>
  
 
==Products==
 
Recital Server, Recital
 
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Functions]]
 
[[Category:Functions]]
[[Category:Manual Locking]]
 
[[Category:Manual Locking Functions]]
 

Latest revision as of 12:30, 14 November 2012

Purpose

Function to test if current record is locked

Syntax

ISLOCKED()

See Also

ISALPHA(), ISLOWER(), ISRLOCKED(), ISUPPER(), LKSYS(), LOCK(), LOCKINFO(), 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() or LOCKINFO() functions can be used for this purpose.

Example

? islocked()
.T.