Dynamic Content
I have a report design as follows:
- MasterData band shows data from a single datasource.
Data fields are shown in 4 rows on one band
- DetailData band shows data from another datasouce.
Data fields are shown in 3 rows on one band
Before the report is shown, the user can select an arbitrary subset of the 3 rows to be shown.
It is not possible to split the rows from the data sources into different datasets, because it is no grid layout and the fields have different formatting depending on the row.
My idea was, to create multiple master data and multiple detail data bands like that:
- MasterData 0
- MasterData 1
- MasterData 2
- MasterData 3
- DetailData 1
- DetailData 2
- DetailData 3
But if you execute the report DetailData prints like that
- DetailData 1 - row 1
- DetailData 1 - row 2
- DetailData 1 - row 3
- DetailData 2 - row 1
- DetailData 2 - row 2
- DetailData 2 - row 3
- DetailData 3 - row 1
- DetailData 3 - row 2
- DetailData 3 - row 3
Ist there an option to change it printing like that
- DetailData 1 - row 1
- DetailData 2 - row 1
- DetailData 3 - row 1
- DetailData 1 - row 2
- DetailData 2 - row 2
- DetailData 3 - row 2
- DetailData 1 - row 3
- DetailData 2 - row 3
- DetailData 3 - row 3
Another way would be to put a layout row on something like a panel and change visibility at runtime. I tried a subreport, but this did not help because there is no subordinate data structure.
Regards,
Holger
- MasterData band shows data from a single datasource.
Data fields are shown in 4 rows on one band
- DetailData band shows data from another datasouce.
Data fields are shown in 3 rows on one band
Before the report is shown, the user can select an arbitrary subset of the 3 rows to be shown.
It is not possible to split the rows from the data sources into different datasets, because it is no grid layout and the fields have different formatting depending on the row.
My idea was, to create multiple master data and multiple detail data bands like that:
- MasterData 0
- MasterData 1
- MasterData 2
- MasterData 3
- DetailData 1
- DetailData 2
- DetailData 3
But if you execute the report DetailData prints like that
- DetailData 1 - row 1
- DetailData 1 - row 2
- DetailData 1 - row 3
- DetailData 2 - row 1
- DetailData 2 - row 2
- DetailData 2 - row 3
- DetailData 3 - row 1
- DetailData 3 - row 2
- DetailData 3 - row 3
Ist there an option to change it printing like that
- DetailData 1 - row 1
- DetailData 2 - row 1
- DetailData 3 - row 1
- DetailData 1 - row 2
- DetailData 2 - row 2
- DetailData 3 - row 2
- DetailData 1 - row 3
- DetailData 2 - row 3
- DetailData 3 - row 3
Another way would be to put a layout row on something like a panel and change visibility at runtime. I tried a subreport, but this did not help because there is no subordinate data structure.
Regards,
Holger