ISRLOCKED( ) Function

See Also

Returns the record lock status.

Syntax

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

Returns

Logical

Arguments

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; otherwise a logical false (.F.) is returned.