This is a migrated thread and some comments may be shown as answers.

Call SubReport Multiple Times From Master

1 Answer 249 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Sentil
Top achievements
Rank 1
Sentil asked on 05 Nov 2013, 12:06 PM
Hi Guys

Today i came across one situation
1) can we call subreport in a for loop meaning one report for multiple output,
I saw one link(below) where i am in same situation and same requirement

http://www.telerik.com/community/forums/reporting/telerik-reporting/multiple-output-from-single-subreport.aspx


Let me know whether we can do as i need to let my client know
If my requirement not possible ,what are other ideas to achieve

Senthil

1 Answer, 1 is accepted

Sort by
0
Accepted
Nasko
Telerik team
answered on 08 Nov 2013, 11:57 AM
Hello Sentil,

Inside the report you have a Detail section, which is printed once for every row in the data source. This is where you place the report items that make up the main body of the report. More information on the topic can be found in the Report Structure help article.

In your case, you can place the sub-report inside the detail section of your report. This will cause the sub-report to be repeated for every record in the report's data source. Additionally the SubReport.ReportSource is parameterized. Thus you can have different output. For more information check out the SubReport help article.

Regards,
Nasko
Telerik

New HTML5/JS REPORT VIEWER with MOBILE AND TOUCH SUPPORT available in Telerik Reporting Q3 2013! Get the new Reporting version from your account or download a trial.

Tags
General Discussions
Asked by
Sentil
Top achievements
Rank 1
Answers by
Nasko
Telerik team
Share this question
or