TurboDB VCL Component Library TTdbTable.CreateTable |
Previous Top Next |
Creates a new database table.
Delphi syntax:
procedure CreateTable;
C++ syntax:
void __fastcall CreateTable(void);
Description
Call CreateTable to create a new database table. Set the FieldDefsTdb, DatabaseName, TableName, TableLevel, EncryptionMethod, Password and Capacityproperties to the desired values before you execute this function. If the OnProgress event is assigned, CreateTable notifies the handler during the altering process.
Note
Do not call any TurboDB database methods in the OnProgress event handler during table creation since this can leave the TurboDB Engine in a indeterminate state.