Click or drag to resize

IsRlocked Function

X#
Returns the record lock status.

Namespace:  XSharp.VFP
Assembly:  XSharp.VFP (in XSharp.VFP.dll) Version: 2.19
Syntax
 FUNCTION IsRlocked(
	nRecordNumber,
	uArea
) AS LOGIC CLIPPER
Request Example View Source

Parameters

nRecordNumber (Optional)
Type: Usual
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.
uArea (Optional)
Type: Usual
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.
Or
Specifies the alias of the table for which the record lock status is returned.

Return Value

Type: Logic
Logical
Remarks
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. in the data session that applied the record lock.
See Also