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

Subreport not displaying parameter value

1 Answer 81 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
David
Top achievements
Rank 1
David asked on 07 Jul 2015, 01:28 AM

Let me try to explain:

I have a main report , let say: "Main sales report" -this report recieve a parameter that is the seller's name as a string- and I also have (inside de main report) a subreport with some totals and also with the parameter.field with the "name of the seller" so he can sign the report .

My problema is this: when the main report does not have data also the subreport does NOT display anything (of course the subreport query does not has data also) but at least I need the name of the seller (that I'm passing as parameter) displayed in the subreport -so the seller could "sign" the report (even when the report is empty).

Any help will be highly appreciated

 

David .

1 Answer, 1 is accepted

Sort by
0
Nasko
Telerik team
answered on 07 Jul 2015, 12:12 PM
Hello David,

When the master report's data source does not contain any data records the report's detail section and dynamic group header/footer sections will not be displayed. If your SubReport item is located inside one of those sections it will not be displayed as well.
You can move the SubReport item to the report header/footer or a static group header/footer section to make sure that the sub-report is displayed independently of the master report data.

Regards,
Nasko
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
General Discussions
Asked by
David
Top achievements
Rank 1
Answers by
Nasko
Telerik team
Share this question
or