Page header contains wrong businessobject data
Posted: Thu Jun 16, 2016 8:17 am
Hi,
I will try to explain the problem with a sample project
The sample project exports 6 pdf files. 3 files with business object PersonData and 3 files with business object PersonData2.
Difference between these two objects : PersonData contains a property RowData and PersonData2 contains a list of RowData.
Export of PersonData is OK, Column 2 contains the correct data but the export of PersonData2 is not OK – Column2 is always 1.
See sample project in attachment to reproduce this problem.
Reports are located in the bin\debug\reports folder.
Exports are located in the bin\debug\exports folder.
PersonData 1.pdf (business object with one property RowData)
Column1 Name Column2 1
PersonData 2.pdf (business object with one property RowData)
Column1 Name Column2 2
PersonData 3.pdf (business object with one property RowData)
Column1 Name Column2 3
PersonData2 1.pdf (business object with list of RowData)
Column1 Name Column2 1
PersonData2 2.pdf (business object with list of RowData)
Column1 Name Column2 1 --> wrong, should be 2
PersonData2 3.pdf (business object with list of RowData)
Column1 Name Column2 1 --> wrong, should be 3
How can I solve this issue?
Ken
I will try to explain the problem with a sample project
The sample project exports 6 pdf files. 3 files with business object PersonData and 3 files with business object PersonData2.
Difference between these two objects : PersonData contains a property RowData and PersonData2 contains a list of RowData.
Export of PersonData is OK, Column 2 contains the correct data but the export of PersonData2 is not OK – Column2 is always 1.
See sample project in attachment to reproduce this problem.
Reports are located in the bin\debug\reports folder.
Exports are located in the bin\debug\exports folder.
PersonData 1.pdf (business object with one property RowData)
Column1 Name Column2 1
PersonData 2.pdf (business object with one property RowData)
Column1 Name Column2 2
PersonData 3.pdf (business object with one property RowData)
Column1 Name Column2 3
PersonData2 1.pdf (business object with list of RowData)
Column1 Name Column2 1
PersonData2 2.pdf (business object with list of RowData)
Column1 Name Column2 1 --> wrong, should be 2
PersonData2 3.pdf (business object with list of RowData)
Column1 Name Column2 1 --> wrong, should be 3
How can I solve this issue?
Ken