[fpc-devel] About TDataSet master/detail design in fpc

Luiz Américo pascalive at bol.com.br
Fri May 6 23:11:00 CEST 2005


Alexandrov Alexandru wrote:

>>
>> So none of the current TDataset descendants works with Master/Detail
>>schema ?
>>If some works, can anybody send me a example?
> 
> 
> MasterDetail works, and you don't need NestedDatasets or DataSetFields for that.
> 
> 1. Put a Master dataset and a Datasource on a form, connect them and
> fill the properties.
> 2. Put a Detail dataset and a Datasource and connect them.
> 3. In Detail dataset set 3 properties: Index, Master dataset, and
> Master fields.
> That's all
> 

Thank you. It seems that you refering to TDbf which is the only that has 
these properties.

Luiz




More information about the fpc-devel mailing list