ISRLOCKED( ) Function

Returns the record lock status.

ISRLOCKED([nRecordNumber, [nWorkArea | cTableAlias]])

Return Values

Logical

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.

Remarks

ISRLOCKED( ) returns a logical true (.T.) if the record is locked by the current application; otherwise a logical false (.F.) is returned.

See Also

FLOCK( ) | ISFLOCKED( ) | LOCK( ) | RLOCK( ) | SYS(2011) - Current Lock Status