DbRLockList Function | |
Get a list of locked records.
Namespace:
XSharp.RT
Assembly:
XSharp.RT (in XSharp.RT.dll) Version: 2.19
Syntax FUNCTION DbRLockList() AS ARRAY
public static Array DbRLockList()
Request Example
View SourceReturn Value
Type:
Array
An array with the numbers of the currently locked records.
Remarks
DBRLock() can be used to obtain multiple record locks in a single work area.
This function returns the numbers of all locked records in an array.
By default, this function operates on the currently selected work area.
It can be made to operate on an unselected work area by specifying
it within an aliased expression
Examples
The following example shows all currently locked records:
1aRecs := DBRLockList()
2n := ALen(aRecs)
3? "Locked records: ", n
4?
5FOR i := 1 UPTO n
6 ? "Locked record ", aRecs[i]
7NEXT
See Also