SBM ModScript Reference → Programming SBM ModScript → Object Types → AppRecord → AppRecord IsLocked() Method
Tests whether the calling AppRecord has been locked, meaning it is in use by another user.
Parameter | Type | Description |
---|---|---|
lockedByThisUser |
bool |
Without an input parameter ( or with "false" as the input ), IsLocked() means "Does someone else have this record locked?" With "true" as the input parameter, the meaning is "May I (as the current user) update this record?" |
Type | Description |
---|---|
bool |
Returns true if the record is locked by another user. |
SBM ModScript version: 11.3.
IsLocked() should return true if another user is using the item. If the item is locked by the current user who is calling IsLocked(), the return is false, which indicates that no one else can prevent an update to the item that was just locked.
Copyright © 2007–2019 Micro Focus or one of its affiliates. All rights reserved.