DataServer.RLOCK Method | |
Lock a specific record in this data server for exclusive write access; other users can still make read-only reference to the record.
Namespace:
VO
Assembly:
VOSystemClasses (in VOSystemClasses.dll) Version: 2.19
Syntax VIRTUAL METHOD RLOCK(
nRecord
) AS USUAL CLIPPER
[ClipperCallingConventionAttribute(new string[] { ... })]
public virtual Usual RLOCK(
Usual nRecord = default
)
Request Example
View SourceParameters
- nRecord (Optional)
- Type: Usual
The ID (usually a record number) of the record to be locked. If specified, record locks held by the current process are retained. If not specified, all locks held by the current process are released and the current record is assumed.
Return Value
Type:
Usual
TRUE if successful; otherwise, FALSE. Note that FALSE is returned even if the record was successfully locked but other record locks cannot be maintained.
Remarks
When specified with an argument, RLock() does not release records locks held by the current process. Instead, it adds the newly locked record to the lock list.
Tip |
---|
Some data servers cannot support the maintenance of multiple record locks or even the lock of a record other than the current one based on a record number. |
See Also