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

CAML Query to bind subreports

0 Answers 27 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
smith spd
Top achievements
Rank 1
smith spd asked on 29 Sep 2010, 07:29 AM
Folks,

I am programmatically binding my Sharepoint List data to the Telerik report.
I am using CAML Query to bind the List data by passing parameter values to the Report.
Please refer to my post here. This is how I am using CAML Query to bind the data programmatically to the report.
Everything works fine until I add a subreport to the Main Report.
Here is the scenario: I add a Subreport to the Detail area of the Report. I am using SubReport1.NeedDataSource to bind the data programmatically. So, I want to pass the same parameter values to the subreport that I have passed to the Main report.
For each parameter value passed to Main Report, its subsequent subreport should be populated with same ID.
Unfortunately, the same CAML doesn't hold good for subreport. when passed, It collects all results for all the parameter vallues and binds them as each subreport for subsequent Main Report.
Please help in this issue.

Thanks

No answers yet. Maybe you can help?

Tags
General Discussions
Asked by
smith spd
Top achievements
Rank 1
Share this question
or