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

Access values from Sub Report

1 Answer 385 Views
Report Designer (standalone)
This is a migrated thread and some comments may be shown as answers.
Brian
Top achievements
Rank 1
Brian asked on 12 Jun 2018, 04:11 PM

Is it possible to access values that a sub report has within the parent report?

Example: My sub report query will return a calculated value (lets say I have an expression in the sub report that is just "1+1"). Within the parent report, I would like to have an expression of ....IIF(subreport.field) = 2, "You picked the value of 2", "you did not pick the value of 2").

 

In crystal reports, you would create a global variable and that variable could be used within the entire report structure.

Is such a think possible in the standalone application?

I have found references to this ReportItem.Report.ItemDefinition.MyFunction(args) but it does not really explain or show what it does.

Brian

1 Answer, 1 is accepted

Sort by
0
Nasko
Telerik team
answered on 15 Jun 2018, 11:05 AM
Hi Brian,

Telerik Reporting does not provide an alternative to the global variables concept out-of-the-box. There are some options to do this with code, but not for the standalone designer.
If you are interested in more details, check this thread.

Regards,
Nasko
Progress 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
Report Designer (standalone)
Asked by
Brian
Top achievements
Rank 1
Answers by
Nasko
Telerik team
Share this question
or