Show: Delphi C++
Display Preferences

Bde.DBTables.TTable.CreateTable

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure CreateTable;

C++

void __fastcall CreateTable();

Properties

Type Visibility Source Unit Parent
procedure
function
public
Bde.DBTables.pas
Bde.DBTables.hpp
Bde.DBTables TTable

Description

Builds a new table using new structure information.

Call CreateTable at runtime to create a table using this dataset's current definitions. If the table already exists, CreateTable overwrites the table's structure and data. To avoid overwriting an existing table, check the Exists property before calling CreateTable.

If the FieldDefs property contains values, these values are used to create field definitions. Otherwise the Fields property is used. One or both of these properties must contain values in order to create a database table.

If the IndexDefs property contain values, these values are used to create indexes on the table.

See Also

Code Examples


Personal tools
In Other Languages
Previous Versions
Assistance