DbServer.RLock Method (Typed)
Lock a record for exclusive write access; other users can still make read-only reference to the record.
XSharp.VORDDClasses (in XSharp.VORDDClasses.dll) Version: 2.18
Syntax Request Example
VIRTUAL METHOD RLock(
nRecordNumber AS LONG
) AS LOGIC
public override bool RLock(
[DefaultParameterValueAttribute(-1, 0)] int nRecordNumber
- Type: Long
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.
TRUE if successful; otherwise, FALSE (although some records still might have been processed).