Friday, February 24, 2012

Display subreports with in a main report

Hello All,

I have 4 subreports that I need to display in the main report. I can pull a sub-report with in the main report howevere\ the subreport doesn't display any data. It just gives me a blank template like:

Customer name Customer # Address 1 Address2 city

The subreport itself is not empty when I open it otherwise it shows me a list of all the customers however, no data when I call it as a part of main report.

Can anyone suggest me on this one?

Thanks,

Rashi

Do you need push parameter values from the main report into the sub report? If so, make sure they are being passed by clicking on the sub report's properties and checking the parameters property.|||Ya I have set all the parameters. All the parameters that are used in the subreport are also set in the main report|||And when you test the subreport it displays properly?|||Well the subreport when open separately displays all the data content however, if I call it from the main report it just gives me a blank template|||

I have the same error!

The not empty subreports are displayed empty in the main report..

But why?

|||

Well, I figured out in my case, it was the wrong company that I was selecting. I had 5 company ids and only one of them had data so, that was the problem in my case. Also, you might wanna check the parameters of your main report.

Next, how have you defined the visibility of your subreports. Did you use any report parameter? (I beleive you must have had) If yes, then check the visibility condition for each subreport.

Hope this helps!

Thanks,

Rashi

No comments:

Post a Comment