Click or drag to resize

DbServer.RLOCK Method

X#
Lock a record for exclusive write access; other users can still make read-only reference to the record.

Namespace:  VO
Assembly:  VORDDClasses (in VORDDClasses.dll) Version: 2.19
Syntax
 VIRTUAL METHOD RLOCK(
	nRecordNumber
) AS USUAL CLIPPER
Request Example View Source

Parameters

nRecordNumber (Optional)
Type: Usual
The number of the record number to be locked. The indicated record is locked, and previous record locks are maintained. Note that this can be the current record: explicitly specifying the current record indicates that previous locks should be maintained. If omitted, or NIL or -1, the current record is locked and all previous record locks are released.

Return Value

Type: Usual
TRUE if successful; otherwise, FALSE (although some records still might have been processed).
See Also