Click here to monitor SSC
SQLServerCentral is supported by Redgate
Log in  ::  Register  ::  Not logged in
Home       Members    Calendar    Who's On

Add to briefcase

Passing table variables to sub reports Expand / Collapse
Posted Monday, November 18, 2013 1:21 AM


Group: General Forum Members
Last Login: Thursday, March 3, 2016 11:43 AM
Points: 121, Visits: 1,409
We have a report designed using SSRS and this report has a sub report. We pass few fields from the Main report to the sub report. These fields contains the Account Numbers that has to be displayed in the sub report. One Account Number is a minimum of 10 characters long. We append the Account Numbers with Comma and send it to the sub report.

Now we are facing issues in the Production Environment. Due to the huge volume of data in the Prod Environment the field that is to be sent to the sub report is too big. Sometimes it contain as much as 3000 Account Numbers appended by Comma. Due to this the Report is not getting generated and we are getting some sort of XML exception. I found that the issue is due to this account numbers appended by removing that field and generating the report and the report got generated without any issues.

I am looking for a way to pass this huge amount of Account Numbers from Main Report to Sub Report. Do we have any feature in SSRS to acheive this. Otherwise we would have to modify the Stored Procedure to filter these Account Numbers one more time which becomes sort of redundant.

Any help would be appreciated.
Post #1515126
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse