Click or drag to resize

DbServer.RLock Method (Typed)

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

Namespace:  XSharp.VO.SDK
Assembly:  XSharp.VORDDClasses (in XSharp.VORDDClasses.dll) Version: 2.19
Syntax
 VIRTUAL METHOD RLock(
	 nRecordNumber AS LONG
) AS LOGIC
Request Example View Source

Parameters

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.

Return Value

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