Difference between revisions of "ISRLOCKED()"

From Lianjapedia
Jump to: navigation, search
 
Line 6: Line 6:
  
 
==See Also==
 
==See Also==
[[ISLOCKED()]], [[ISREADONLY()]], [[ISUSED()]], [[LKSYS()]], [[LOCK()]], [[LOCKINFO()]], [[USED()]]
+
[[ISLOCKED()]], [[ISREADONLY()]], [[INUSE()]], [[LKSYS()]], [[LOCK()]], [[LOCKINFO()]], [[USED()]]
  
 
==Description==
 
==Description==
Line 19: Line 19:
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Functions]]
 
[[Category:Functions]]
[[Category:Manual Locking]]
 
[[Category:Manual Locking Functions]]
 

Latest revision as of 12:41, 14 November 2012

Purpose

Function to test if current or specified record is locked by the current process

Syntax

ISRLOCKED([<expN1> [, <expN2> | <expC>]])

See Also

ISLOCKED(), ISREADONLY(), INUSE(), LKSYS(), LOCK(), LOCKINFO(), USED()

Description

The ISRLOCKED() function returns .T. if the current record or record number <expN1> is locked by the current user, and .F. otherwise. By default it operates in the current workarea. To operate in another workarea, the number <expN2> or table alias <expC> can be specified. The ISRLOCKED() function does not determine whether the current record is locked by another user/process.

Example

? isrlocked(13,2)
.T.