Variable for Holding expression result

3 posts, 0 answers
  1. Amar
    Amar avatar
    13 posts
    Member since:
    Jul 2015

    Posted 05 Aug 2015 Link to this post

    Hi,

    I need to use an expression result multiple times. Do we have any variable to hold the result of the expression result to be used later?

    In my scenario, I am using the expression Sum(Fields.Field1 * Field​s.Field2) for four report items(textboxes). I think it will get evaluated for each of the report item( 4 times in my case) which can be time consuming. So I was wondering if there is any option such as a temporary field(like hidden field in ASP.Net) or any alternative variable to hold the expression result and then use it for the next time it is required.

     Please suggest !

  2. Nasko
    Admin
    Nasko avatar
    1085 posts

    Posted 07 Aug 2015 Link to this post

    Hello Amar,

    Telerik Reporting does not provide variables to store results from evaluated expressions. If you would like to optimize your report, please follow the Performance Considerations help article.

    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
  3. Amar
    Amar avatar
    13 posts
    Member since:
    Jul 2015

    Posted 10 Aug 2015 Link to this post

    Thanks
Back to Top