Using Main report datasource in sub reports
Posted on 2004-11-03
I have a report which I populate from an ado.net dataset through VB.NET.
However this report has 31 sub reports and it takes a long time to set the datasource for each of these programatically.
However, the dataset is the same for all the subreports and the main report and I was hoping there was a way to just set the datasource in the main report and have it filter through to the sub reports.
I've tried linking the fields in the sub report to identical ones in the main report, but this doesn't work.
Can anyone tell me if this is even possible?