I am migrating from the .CS version of reports to the .trdp format. Overall the results have been good. I have had to do some minor tweaks to a few data structures but noting significant.
I have run into a scenario for which I have not been able to come up with a solution. Hopefully someone will have a bright idea for me.
I have an existing report which has 7 sub-reports. The main report has a dataset which has all the data for the child sub reports. Each child report have a single parameter that controls logic on how the data is formatted/presented when rendered. Under the ".cs" flavor, I had more control of the data binding process and could point each sub report to its relevant data source and set the parameter to the required values. I seem to lack this ability in the .trdp flavors.
While 7 sub-reports sounds large, it actually is 3 reports with the same sub-report being re-used with different data sources and parameters.
The root/parent reports data looks like the following:
List<reportAData> report1data List<reportAData> report2Data List<reportAData> report3Data List<reportBData> report4Data List<reportBData> report5Data List<reportBData> report6Data List<reportCData> report7Data
In theory I need to set the data source of sub report #1 to "report1Data", set its parameter to the root parameter "A". Then set sub report #2 to "report2Data" and set its parameter to the parent parameter "B". The same repeats for the rest of the data.
I do not know how to do that. The instructions I have seen say to open the child sub-report and modify its's bindings to use the parents data object. That would work however I have the same sub-report being used 3 times with different sources and different parameters.
Any suggestions for a strategy?