Clientdataset, datasetfield and master-detail
I have xml file with stucture:
<METADATA>
<FIELDS>
<FIELD attrname="ID" fieldtype="string" WIDTH="42"/>
<FIELD attrname="DistributedBy" fieldtype="string" WIDTH="72"/>
<FIELD attrname="Description" fieldtype="bin.hex" SUBTYPE="Text"/>
<FIELD attrname="FeaturesByVideo" fieldtype="nested">
<FIELDS>
<FIELD attrname="SpecialFeature" fieldtype="string" WIDTH="72"/>
<FIELD attrname="Description" fieldtype="string" WIDTH="72"/>
</FIELDS><PARAMS/>
</FIELD>
</FIELDS><PARAMS/>
</METADATA>
I load this xml file into two clientdataset CDS1 i CDS2 and Cds2 is linked to Cds1 with datasetField=FeaturesByVideo
I use this datasets with FrReport (frdbdataset1.dataset=cds1;frdbdataset2.dataset=cds2)
I try build master - detail raport with this datasets:
I put on report bands: MasterData->frdataset1 and DetailData- >frdataset2 and I preview report and report is wrong;
Is posible to build master-detail raport with one nested Dataset?
I use FastReport2.51;
Jacek.
<METADATA>
<FIELDS>
<FIELD attrname="ID" fieldtype="string" WIDTH="42"/>
<FIELD attrname="DistributedBy" fieldtype="string" WIDTH="72"/>
<FIELD attrname="Description" fieldtype="bin.hex" SUBTYPE="Text"/>
<FIELD attrname="FeaturesByVideo" fieldtype="nested">
<FIELDS>
<FIELD attrname="SpecialFeature" fieldtype="string" WIDTH="72"/>
<FIELD attrname="Description" fieldtype="string" WIDTH="72"/>
</FIELDS><PARAMS/>
</FIELD>
</FIELDS><PARAMS/>
</METADATA>
I load this xml file into two clientdataset CDS1 i CDS2 and Cds2 is linked to Cds1 with datasetField=FeaturesByVideo
I use this datasets with FrReport (frdbdataset1.dataset=cds1;frdbdataset2.dataset=cds2)
I try build master - detail raport with this datasets:
I put on report bands: MasterData->frdataset1 and DetailData- >frdataset2 and I preview report and report is wrong;
Is posible to build master-detail raport with one nested Dataset?
I use FastReport2.51;
Jacek.
Comments
Jacek