Passing parameters to SubReport

0 Answers 1136 Views
Report Designer (standalone) SubReport
minh
Top achievements
Rank 2
Iron
Iron
Iron
minh asked on 28 Oct 2021, 11:02 AM

Hi Technical team,

I added a parameter in a report parent by following this link: https://docs.telerik.com/reporting/designing-reports-parameters-adding-parameters

I let all the values by defaults.

Then, I tried to pass the parameter to a SubReport under the parent report by following this link: https://docs.telerik.com/reporting/report-items-sub-report

All I did is in Report Designer.

However, after that the parent report is initiated, I found the value of parameters always null or empty.

Could you tell me where I did wrong?

Many thanks,

Eric R | Senior Technical Support Engineer
Telerik team
commented on 01 Nov 2021, 06:37 PM

Without seeing the report definitions, there could be a number of reason why it is happening. For example, it could be the main report's data source query is returning null or it could be the sub report's data source query is returning null. 

To better understand this, I recommend attaching the problematic report definitions to the ticket for review.

MasiULLAH
Top achievements
Rank 1
Iron
commented on 07 Nov 2024, 08:58 AM

Can you give any .trdp file to understand how they subreport are display they data in main report  
Dess | Tech Support Engineer, Principal
Telerik team
commented on 08 Nov 2024, 04:39 PM

Hello,

Your question has already been answered in the other thread (ID) you have opened on the same topic. Please, see our answer there for more information:

https://www.telerik.com/forums/sub-report 

We kindly ask you to use just one thread for a specific problem to contact us. Posting the same questions numerous times slows down our response time because we will need to review and address two or more tickets instead of one. Moreover, threads are handled according to license and time of posting, so if it is an urgent problem, we suggest you use a support ticket, which would be handled before a forum thread. 

Thank you for your understanding. 

No answers yet. Maybe you can help?

Tags
Report Designer (standalone) SubReport
Asked by
minh
Top achievements
Rank 2
Iron
Iron
Iron
Share this question
or