4D v16.3Get locked records info |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v16.3
Get locked records info
Get locked records info
The Get locked records info command returns an object containing different information about the currently locked record(s) in aTable. The returned object contains a "records" property which is an array of objects: { Each "description object" array element identifies a locked record in the specified table and has the following properties:
The contextAttributes object is made up of the following properties:
(*) You can get the 4D user name from the value of user4d_id by using the following code: GET USER LIST($arrNames;$arrIDs) Note: The command works only with 4D and 4D Server. It always return an invalid object when called from 4D Remote or a component. However, it can be called in these contexts if the "Execute on server" option is activated. In this case, the object returned will contain, respectively, information about the server or the host database. You execute the following code: $vOlocked :=Get locked records info([Table]) If two records were locked in the [Table] table, the following object is returned in $vOlocked: { {
See also
|
PROPERTIES
Product: 4D HISTORY
Created: 4D v14 R3 ARTICLE USAGE
4D Language Reference ( 4D v16) |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||