Get a list of locked records.
XSharp.RT (in XSharp.RT.dll) Version: 2.16
Syntax Request Example
FUNCTION DbRLockList() AS ARRAY
public static Array DbRLockList()
An array with the numbers of the currently locked records.
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
The following example shows all currently locked records:
1aRecs := DBRLockList()
2n := ALen(aRecs)
3? "Locked records: ", n
5FOR i := 1 UPTO n
6 ? "Locked record ", aRecs[i]