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


TACRAdvFieldDef
Hierarchy    Properties    Methods    
Top 

TACRAdvFieldDef is an advanced field definition that corresponds to a physical field of a record in a table underlying a dataset.

Unit
ACRMain

Description
A TACRAdvFieldDef object contains the definition of one field in a table. The definition for a field includes such attributes as the field's name, data type, and size. TACRAdvFieldDef objects are typically used in collections of such objects, such as the AdvFieldDefs property of the TDataSet component.

There are two primary reasons for working with TACRAdvFieldDef objects:
·To specify field definitions for a new table.  
·To specify field definitions for a restrutured table.  

When using an existing table, a field definition is automatically created for each field in the dataset that comes from the underlying database. Inspect the properties of TACRAdvFieldDef to retrieve information about specific fields in the dataset.

When creating or restructuring tables, such as with the CreateTable or RestructureTable method of TACRTable, TACRFieldDef objects supply the definitions for the new fields that will comprise the new table.

A field definition has a corresponding TField object, but not all TField objects have a corresponding field definition. For example, calculated fields do not have field definition objects.


© AidAim Software Accuracer: Benefits-bde Replacement Embedded Database For Delphi C\+\+ Builder Kyli