Accuracer: The First And Only Cross-Platform BDE Replacement
Client-Server Single-File Embedded Database with SQL for Delphi / C++Builder / Kylix


TACRTable.CreateTable
TACRTable
Top 

Builds a new table using new structure information.

procedure CreateTable; overload;
procedure CreateTable(NewTableName: String); overload;

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 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 in-memory table.

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

You can set TableName property before call to CreateTable or specify it as a parameter.


© AidAim Software Accuracer: Client Server Single-file Bde Replacement Delphi Database Embedded Databas