Returns the table lock status.
Syntax
ISFLOCKED([nWorkArea | cTableAlias])
Returns
Logical
Arguments
nWorkArea
Specifies the work area number of the table for which the lock status is returned. If you omit cTableAlias and nWorkArea, the lock status is returned for the table open in the current work area.
cTableAlias
Specifies the alias of the table for which the lock status is returned. An “Alias not found” error message is generated if you specify an alias of a table that isn’t open.
Remarks
ISFLOCKED( ) returns a logical true (.T.) if the table is locked; otherwise a logical false (.F.) is returned. ISFLOCKED( ) is similar to SYS(2011), but returns a logical value which does not require localization for international applications.