Data.DB.TFieldDef.ParentDef

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property ParentDef: TFieldDef read GetParentDef;

C++

__property TFieldDef* ParentDef = {read=GetParentDef};

Properties

Type Visibility Source Unit Parent
property public
Data.DB.pas
Data.DB.hpp
Data.DB TFieldDef

Description

The ParentDef property references the parent field definition for the field definition, if it exists.

If the TFieldDef object is the field definition of the child field of an object field, such as an ADT field or an array field, then ParentDef references the parent object's field definition. If the TFieldDef object does not define the child field of an object field, ParentDef is nil (Delphi) or NULL (C++)..

Note: You can't create tables that contain object fields. ParentDef is only used in field definitions that reflect an existing dataset, not field definitions that are used to create a new dataset.

See Also