Input Parameters | Significance |
DtvLong mrk | lock marking Id |
Output Parameters | Significance |
no | - |
Return Code | Significance |
0 | no error |
1 | no records locked |
2 | lock release switched off |
-1 | data base error unlocking the records |
If you use userexits to execute your own manipulations at records in the data base, you have to assure the consistency of the data base from within the userexit using this function. If a record is locked, it cannot be edited or deleted from any other DataView user.
The lock marking Id is used to group locked records. DataView itself uses the widget Id as lock marking Id.
Using the function dal_dbi_lck_elm you can lock records you grouped via the same lock marking Id.
Locking is additionally logged in the user lock file of the DataView < lck>
directory.