EasyTable: Single-File Embedded BDE Replacement
Database for Delphi and C++Builder


TDataSet.DataSetField
TDataSet
Top 

Indicates the persistent TDataSetField object that owns the nested dataset.

property DataSetField: TDataSetField;

Description
Use DataSetField when the dataset is the nested detail set of another dataset, such as an Oracle8 nested dataset. Read DataSetField to access the data set field component in the master dataset that comprises this dataset. Set DataSetField to a field component in the master dataset to assign this dataset as the value of that field component.

Note:   When setting the DataSetField property, the dataset must be of (or a descendant of) the class specified by the master dataset's NestedDataSetClass property. Otherwise, setting DataSetField raises an exception. Further, setting DataSetField to a TDataSetField that is contained in the same dataset raises an exception (A dataset can't be nested in itself).


© AidAim Software EasyTable: Easytable Ben Delphi Database Single File Bde Replacemen