Access values from Sub Report

2 posts, 0 answers
  1. Brian
    Brian avatar
    33 posts
    Member since:
    Mar 2016

    Posted 12 Jun Link to this post

    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

  2. Nasko
    Admin
    Nasko avatar
    1023 posts

    Posted 15 Jun Link to this post

    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
Back to Top