TurboDB VCL Component Library TTdbTable.LockTable TTdbTable See also |
Previous Top Next |
Locks a TurboDB table.
Delphi syntax:
procedure LockTable(LockType: TTdbLockType);
C++ syntax:
void __fastcall LockTable(TTdbLockType LockType);
Description
Call LockTable to lock a database table to prevent other applications from placing a particular type of lock on the table. LockType specifies the lock requested by this application.
Requesting a write lock prevents other applications from writing to a table. Requesting a total lock prevents other application from writing to and reading a table.