Delphi Database, Delphi Components from ComponentAce
Products Download Order Contact us
TABSTable.CreateTable
TABSTable
Top 


Builds a new table using new structure information.

procedure CreateTable;

Description
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 AdvFieldDefs or 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 AdvIndexDefs or IndexDefs property contains values, these values are used to create indexes on the table.

        © 2003 - 2024 ComponentAce  | .net zip component | barcode for .net | delphi zip component | delphi database Apr 18, 2024