RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TFieldDef.ParentDef Property

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

Pascal
property ParentDef: TFieldDef;
C++
__property TFieldDef ParentDef;

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.
 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!