Returns the record lock status.
ISRLOCKED([nRecordNumber, [nWorkArea | cTableAlias]]) |
Parameters
- nRecordNumber
- 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.
- nWorkArea
- 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.
- cTableAlias
- Specifies the alias of the table for which the record lock status is returned.
Return Value
Logical
Remarks
ISRLOCKED(В ) returns a logical true (.T.) if the record is locked by the current application; otherwise a logical false (.F.) is returned.
Note: |
---|
ISRLOCKED() only returns .T. at the workstation that applied the record lock. |