Problem with data rendering in nested subreport
Posted: Mon Jun 17, 2013 8:34 am
Hello Stimulsoft,
i have a problem with some databand rendering. The databand is placed in a nested subreport. I attached my sample project including the *.mrt file. Just run the project and the report will opening.
The problem is in DataBand4 placed in subReport_2. It is bound to a BusinessObject called Person2. This one has the same properties as BusinessObject Person (Geburtsdatum, Name, Vorname). At runtime BusinessObjects Person and Person2 are bound to different collections containing objects of the same data type (see code of Form1 in attached project ).
subReport_1.DataBand1 for BusinessObject Person is rendered correctly with all rows of the first collection. But when DataBand4 is rendered with a different collection for BusinessObject Person2 the same data is shown for every row. And the data is from the last row of BusinessObject Person. The number of rows is correct but not the data.
Can you tell me what i made wrong?
Thanks and kind regards
Thorsten Pontow
i have a problem with some databand rendering. The databand is placed in a nested subreport. I attached my sample project including the *.mrt file. Just run the project and the report will opening.
The problem is in DataBand4 placed in subReport_2. It is bound to a BusinessObject called Person2. This one has the same properties as BusinessObject Person (Geburtsdatum, Name, Vorname). At runtime BusinessObjects Person and Person2 are bound to different collections containing objects of the same data type (see code of Form1 in attached project ).
subReport_1.DataBand1 for BusinessObject Person is rendered correctly with all rows of the first collection. But when DataBand4 is rendered with a different collection for BusinessObject Person2 the same data is shown for every row. And the data is from the last row of BusinessObject Person. The number of rows is correct but not the data.
Can you tell me what i made wrong?
Thanks and kind regards
Thorsten Pontow