IBX.IBTable.TIBTable.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
IBX.IBTable.pas
IBX.IBTable.hpp
IBX.IBTable TIBTable

Description

Builds a new table using new structure information.

Call CreateTable at runtime to create a table using this dataset's current definition. CreateTable overwrites an existing table's structure and data; to avoid overwriting an existing table, check Exists 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 recreate a dataset.

If the IndexDefs property contain values, these values are used to create index definitions for the dataset.