AppRecord UpdateWithLock() Method

(SBM On-Premise/PaaS only) Updates the record that has been previously locked with Lock() function.

Function Signature

 bool UpdateWithLock( [bool stealLock] ) 

Parameters

Parameter Type Description

stealLock

bool

Optional parameter that allows the user to skip the Lock() function and steal the lock during the update. Defaults to false. If true, any other user's existing lock will be broken, causing that user's changes to be lost.

Return

Type Description

bool

Returns true if the record was successfully updated; false otherwise.

Technical Details

SBM ModScript version: 11.3.

Notes

None.

Related Topics

AppRecord

AppRecord Update() Method