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

Variable for Holding expression result

2 Answers 568 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Amar
Top achievements
Rank 1
Amar asked on 05 Aug 2015, 05:30 AM

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 Answers, 1 is accepted

Sort by
0
Nasko
Telerik team
answered on 07 Aug 2015, 11:29 AM
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
0
Amar
Top achievements
Rank 1
answered on 10 Aug 2015, 12:44 PM
Thanks
Tags
General Discussions
Asked by
Amar
Top achievements
Rank 1
Answers by
Nasko
Telerik team
Amar
Top achievements
Rank 1
Share this question
or