I have a main report which shows list of accounts that a client holds. It is grouped by account id. And under that group (in group footer) I placed a subreport, which shows details of the accounts (taking account id as linked parameter from the main report).
It works fine when I am designing the report and previewing it (Pull method).
But now I need to use Push method with C#.
I know I need to do .OpenSubreport("SubreportName") and .SetDataSrouce(dsSubreportData) to push the dataset to subreport. But when I pass the dataset containing all data to the subreport at once, the grouping does not work and all data get displayed under each account repeatedly.
Is there a solution to this ?