Declaration

procedure LockTable(aLockType: TnxLockType);

 
Description

LockTable locks the dataset for the given operation. Make sure to keep these locks as short as possible, because it might otherwise interfere with the functionality/access of other instances to the table.

These locks interact directly with record locks, e.g. you can't acquire a table lock while anyone else has a record lock.

 
Parameters

aLockType: TnxLockType

the type of lock you want to acquire

 
See Also

 
UnlockTable
, UnlockTableAll

Home | Site Contents | Documentation | NexusDB Manual V4 | Class Reference | Symbol Reference | Classes | TnxDataset