I have a main rdlc report that contains only a tablix and a subreport in it (details area). The tablix has a datasource that at runtime I checked and it is populated corectly (eg: invoices ids). The subreport has no parameters or filters.
In the handler of the SubReport processing event, I'm assigning a datatable to the subreport datasource. I also checked that the datatable has correct data in it on each raised event. For this I'm using the following code:
e.DataSources.Add(new ReportDataSource("DataSet1",myDataTable);
My problem is that when it is finished, all the pages (all the subreports) have the same data in them (it multiplies the first one by the number of id's in main datasource).
Can anybody provide some hints on what I'm doing wrong.
Thank you
=First(...)? Do you have Row Groups set prorperly? - ttaaoossuuuu