I am developing a database application with clientdatasets that loads and
saves it's data directly to and from a .cds file. I am not using any
I have a master clientdataset and a detail clientdataset.
The detail clientdataset is a datasetfield of the master clientdataset.
The detail clientdataset is a nested dataset of the master clientdataset.
The master clientdataset has a field named NumReg of integer type.
The detail clientdataset has a field named NumRegMaster of integer type.
If a detail record is inserted on the detail clientdataset the NumRegMaster
field of this record receives the same value of the NumReg field of the
corresponding record of the master clientdataset.
I want to filter the master clientdataset based on the values of some fields
of the detail dataset.
I am using the Filter and Filtered properties of the master clientdataset to
build the filter at runtime based on the filter options selected by the
How can I access the detail fields of the detail clientdataset from the
master clientdataset ?
How can I filter the records of the master clientdataset based on the field
values of the detail clientdataset ?
Thank you for any help.