Difference between revisions of "LKSYS()"
From Recital Documentation Wiki
Yvonnemilne (Talk | contribs) |
Yvonnemilne (Talk | contribs) |
||
| (3 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
| − | |||
| − | |||
| − | |||
| − | |||
==Purpose== | ==Purpose== | ||
Function to return lock status of current record | Function to return lock status of current record | ||
| Line 12: | Line 8: | ||
==See Also== | ==See Also== | ||
| − | [[FLOCK()]], [[ISLOCKED()]], [[ | + | [[FLOCK()]], [[ISLOCKED()]], [[LOCK()]], [[LOCKF]], [[LOCKINFO()]], [[LOCKR]], [[RLOCK()]], [[UNLOCK]] |
| Line 44: | Line 40: | ||
==Products== | ==Products== | ||
| − | Recital | + | Recital Server, Recital |
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
Latest revision as of 12:03, 16 February 2010
Purpose
Function to return lock status of current record
Syntax
LKSYS(<expN>)
See Also
FLOCK(), ISLOCKED(), LOCK(), LOCKF, LOCKINFO(), LOCKR, RLOCK(), UNLOCK
Description
The LKSYS() function returns information regarding the lock status of the current record. The parameter <expN> is used to specify what type of information is returned. The <expN> may be one of the following:
| Value | Description |
|---|---|
| 0 | Current time if current record is locked |
| 1 | Current date if current record is locked |
| 2 | User name of person who has locked the record |
| 3 | Terminal name at which record is locked |
The LYKSYS() function returns a null string ("") if the record is not locked.
Example
?lksys(0) 11:30:20
Products
Recital Server, Recital