Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Passing table variables to sub reports Expand / Collapse
Author
Message
Posted Monday, November 18, 2013 1:21 AM
SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Monday, March 10, 2014 3:09 AM
Points: 121, Visits: 1,386
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