TdxDbOrgChart.KeyField Property
KeyField contains a key value for tree nodes corresponding to a given database record.
Declaration
property KeyField: TField read;
Property Value
Type |
---|
TField |
Remarks
Contains a reference to the required field of a connected database setting the Key property of tree nodes. Can be changed via setting of KeyFieldName. This field can be of any type, though it is usually defined as an integer. Values in KeyField field must be unique for each record and must not be empty. Key value duplication for several records will force only a single node to be built. Records with blank key value are ignored.
See Also