Difference between revisions of "LKSYS()"
From Lianjapedia
Yvonne.milne (Talk | contribs) m (1 revision) |
Yvonne.milne (Talk | contribs) |
||
Line 1: | Line 1: | ||
==Purpose== | ==Purpose== | ||
Function to return lock status of current record | Function to return lock status of current record | ||
− | |||
==Syntax== | ==Syntax== | ||
LKSYS(<expN>) | LKSYS(<expN>) | ||
− | |||
==See Also== | ==See Also== | ||
− | [[FLOCK()]], [[ISLOCKED()]], [[LOCK() | + | [[FLOCK()]], [[ISLOCKED()]], [[LOCK()]], [[LOCKINFO()]], [[RLOCK()]], [[UNLOCK]] |
− | + | ||
==Description== | ==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: | 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: | ||
− | |||
{| class="wikitable" | {| class="wikitable" | ||
Line 27: | Line 23: | ||
|- | |- | ||
|} | |} | ||
− | |||
The LYKSYS() function returns a null string ("") if the record is not locked. | The LYKSYS() function returns a null string ("") if the record is not locked. | ||
− | |||
==Example== | ==Example== | ||
Line 38: | Line 32: | ||
</code> | </code> | ||
− | |||
− | |||
− | |||
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Functions]] | [[Category:Functions]] |
Revision as of 07:34, 10 February 2012
Contents
Purpose
Function to return lock status of current record
Syntax
LKSYS(<expN>)
See Also
FLOCK(), ISLOCKED(), LOCK(), LOCKINFO(), 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