Bde.DBTables.TTable.LockTable
[–] Properties | |
---|---|
Type: procedure function
| |
Visibility: public | |
Source: Bde.DBTables.pas Bde.DBTables.hpp
| |
Unit: Bde.DBTables | |
Parent: TTable |
Delphi
procedure LockTable(LockType: TLockType);
C++
void __fastcall LockTable(TLockType LockType);
Description
Locks a Paradox or dBASE table.
Call LockTable to lock a Paradox or dBASE 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 read lock prevents other applications from reading a table. Requesting a write lock prevents other application from writing to a table.
An application can request both types of lock by calling LockTable twice, once for each lock type.