TurboDB VCL Component Library

TTdbTable.UnlockTable

TTdbTable        See also

Previous  Top  Next

Removes a previously applied lock on a TurboDB table.

Delphi syntax:

procedure UnlockTable(LockType: TTdbLockType);

C++ syntax:

void __fastcall UnlockTable(TTdbLockType LockType);

Description

Call UnlockTable to remove a lock previously applied to a database table. LockType specifies the lock to remove.

Removing a write lock enables other applications to read a table. Removing a total lock enables other application to write to a table.