Description
Locks a record.
Syntax
rv = Lock_Services("Lock", TableName, TableHandle, KeyId, AllowAbort, IgnoreSelfLock)
Parameters
Parameter | Description |
---|---|
TableName | Database table whose record will be locked. |
TableHandle | Handle to the datatable table after it has been opened. |
KeyID | Key ID to the record being locked. |
AllowAbort | Flag that determines if the user is allowed to abort the lock request. Default is False. |
IgnoreSelfLock | Flag that determines if self locks should be ignored. Default is False. |
Remarks
AllowAbort is passed to NDW_LOCK_RECORD which will display or hide the cancel button accordingly.
Version
16.0.18