Variable data source
Hi!
I need to duplicate a data band in my report a few times, according to the amount of data sources.
For example, i have a table with the data source "students in class 1",
and the cells are:
"students in class 1.name" "students in class 1.id" "students in class 1.age"
if i have also the data sources "students in class 2" and "students in class 3"
I want to duplicate the data band that contains the table, and i also want the cells to
know that they should take the data from the current data source.
Is it possible to do it programatically without iterating all the cells and replacing the text from
"students in class 1.name" to "students in class 2.name" etc?
Maybe somehow set the cell text in the first place to "{current data source}.name"?
Thanks
I need to duplicate a data band in my report a few times, according to the amount of data sources.
For example, i have a table with the data source "students in class 1",
and the cells are:
"students in class 1.name" "students in class 1.id" "students in class 1.age"
if i have also the data sources "students in class 2" and "students in class 3"
I want to duplicate the data band that contains the table, and i also want the cells to
know that they should take the data from the current data source.
Is it possible to do it programatically without iterating all the cells and replacing the text from
"students in class 1.name" to "students in class 2.name" etc?
Maybe somehow set the cell text in the first place to "{current data source}.name"?
Thanks
Comments
No, it's not possible. You have to replace the text manually.