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
Problem with data rendering in nested subreport
Problem with data rendering in nested subreport
- Attachments
-
- DataBandRenderingProblem.png (85.5 KiB) Viewed 1620 times
-
- Strukturtest.zip
- (34.15 KiB) Downloaded 221 times
Thorsten Pontow
It is easier to write an incorrect program than to understand a correct one. (Alan J. Perlis, Epigrams in programming No. 7)
It is easier to write an incorrect program than to understand a correct one. (Alan J. Perlis, Epigrams in programming No. 7)
Re: Problem with data rendering in nested subreport
Hello,
meanwhile i found the error by myself. I used the wrong business object in the expression of the text components of DataBand4. Sorry!
Everything works fine now!
Kind regards
Thorsten Pontow
meanwhile i found the error by myself. I used the wrong business object in the expression of the text components of DataBand4. Sorry!
Everything works fine now!
Kind regards
Thorsten Pontow
Thorsten Pontow
It is easier to write an incorrect program than to understand a correct one. (Alan J. Perlis, Epigrams in programming No. 7)
It is easier to write an incorrect program than to understand a correct one. (Alan J. Perlis, Epigrams in programming No. 7)
Re: Problem with data rendering in nested subreport
Hello.
It's good. Let us know if you will have any questions else.
Thank you.
It's good. Let us know if you will have any questions else.
Thank you.