Difference between revisions of "ISLOCKED()"

From Recital Documentation Wiki
Jump to: navigation, search
 
(2 intermediate revisions by one user not shown)
Line 1: Line 1:
==Class==
 
Manual Locking
 
 
 
 
==Purpose==
 
==Purpose==
 
Function to test if current record is locked
 
Function to test if current record is locked
Line 12: Line 8:
  
 
==See Also==
 
==See Also==
[[ISALPHA()]], [[ISLOWER()]], [[ISUPPER()]], [[LKSYS()]], [[LOCK()]], [[LOWER()]], [[UPPER()]]
+
[[ISALPHA()]], [[ISLOWER()]], [[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() function 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.  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.
 
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.
Line 29: Line 25:
  
 
==Products==
 
==Products==
Recital Database Server, Recital Mirage Server, Recital Terminal Developer
+
Recital Server, Recital  
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Functions]]
 
[[Category:Functions]]
 
[[Category:Manual Locking]]
 
[[Category:Manual Locking]]
 
[[Category:Manual Locking Functions]]
 
[[Category:Manual Locking Functions]]

Latest revision as of 12:04, 16 February 2010

Purpose

Function to test if current record is locked


Syntax

ISLOCKED()


See Also

ISALPHA(), ISLOWER(), 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. 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 Server, Recital