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


TACRAdvFieldDefs.AddFieldDef
TACRAdvFieldDefs
Top 

Creates a new field definition object and adds it to the Items property of this TACRAdvFieldDefs object.

function AddFieldDef: TACRAdvFieldDef;

Description
Call AddFieldDef to add field definitions when creating a database table. AddFieldDef returns the new TACRAdvFieldDef object that was added to the AdvFieldDefs collection of field definitions. After calling AddFieldDef, set the properties of the newly added TACRAdvFieldDef object to specify the name, type, size and other parameters of field that should be created.

Note:   AddFieldDef is only valid in the context of creating field definitions for a table to be created or restructured with a subsequent call to the CreateTable or RestructureTable method.


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