Lock a record for exclusive write access; other users can still make read-only reference to the record.
VORDDClasses (in VORDDClasses.dll) Version: 2.7
Syntax Request Example
VIRTUAL METHOD RLOCK(
nRecordNumber AS USUAL := NIL
) AS USUAL
public override Usual RLOCK(
Usual nRecordNumber = null
- 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, the current record is locked and all previous record locks are released.
TRUE if successful; otherwise, FALSE (including if the indicated record was successfully locked but other record locks cannot be maintained).