Data.DB.TAggregateField.Create

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: constructor
Visibility: public
Source:
Data.DB.pas
Data.DB.hpp
Unit: Data.DB
Parent: TAggregateField

Delphi

constructor Create(AOwner: TComponent); override;

C++

__fastcall virtual TAggregateField(System::Classes::TComponent* AOwner);

Description

Creates an instance of TAggregateField.

Call Create to create and initialize an instance of TAggregateField at runtime.

It is seldom necessary to call Create directly, because an aggregate field component is instantiated automatically when an aggregate field is added through the Fields editor of a client dataset.

Create initializes DataType to ftUnknown, FieldKind to fkAggregate, Precision to 15, and Visible to false.

See Also