Page 1 of 1
value conditions
Posted: Mon Aug 02, 2010 7:09 am
by aza77
Hello,
i have some problems with value conditions. Till now I,m not able to show a negative value red and positive value in black color. We have done like it is descripted in user manual, but I see no way to manage this.
Furthermore I want to calculate with fields which are calculated already. How can I invoke such a field?
thanks
aza77
value conditions
Posted: Mon Aug 02, 2010 7:58 am
by Alex K.
Hello,
aza77 wrote:
i have some problems with value conditions. Till now I,m not able to show a negative value red and positive value in black color. We have done like it is descripted in user manual, but I see no way to manage this.
You can see the section "Report Internals -> Conditions formating" in the documentation.
Also see an example in the attached file.
aza77 wrote:
Furthermore I want to calculate with fields which are calculated already. How can I invoke such a field?
During report rendering exist two instance of each component (minimum two instance). One instance - component in report template. Second instance - component which created for rendered report. During creation of second instance report engine calculate expressions and write it to second instance. When you write expression like this:
{Text1.Text}
you call instances from report template which does not contain calculated values from expressions.
You can:
1. Instead of "{Text1.TextValue}" expression use the same expression as in Text1.Text property, or
2. Use variables. In this case you can calculate value in variable, and then use this variable in expressions.
Thank you.