Returns the record lock status.
ISRLOCKED([nRecordNumber, [nWorkArea | cTableAlias]])
- Specifies the number of the record for which the lock status is returned. If nRecordNumber is omitted, the record lock status is returned for the current record.
- Specifies the work area number of the table for which the record lock status is returned. If you omit cTableAlias and nWorkArea, the record lock status is returned for the table open in the current work area.
- Specifies the alias of the table for which the record lock status is returned.
ISRLOCKED(В ) returns a logical true (.T.) if the record is locked by the current application; otherwise a logical false (.F.) is returned.
|ISRLOCKED() only returns .T. at the workstation that applied the record lock.|