Page 1 of 1

Variable get wrong values

Posted: Wed Aug 03, 2022 12:34 pm
by Frednews
Hello

I have a data object like table.pricevalue with the value -30000.00
I want to use the value in a variable.

So I create the variable "additionalcosts" and I put in the expression table.pricevalue

I created to text fields in the report. One with the expression {table.pricevalue} wich shows -30000.0000 which is correct.
The other text field has the expression {additionalcosts}. It should display the same, but it shows 3000000.0000 and is not negative.

Normally the working with variables is running fine, but this is a strange behaviour.
Any ideas?

Thanks

Re: Variable get wrong values

Posted: Thu Aug 04, 2022 6:30 am
by Lech Kulikowski
Hello,

Please send us a sample report with test data that reproduces the issue for analysis.

Thank you.

Re: Variable get wrong values

Posted: Fri Aug 05, 2022 12:21 pm
by Frednews
Hi,

I attached a document with a little bit documentation of this behaviour.

Thanks

Re: Variable get wrong values

Posted: Fri Aug 05, 2022 2:12 pm
by Lech Kulikowski
Hello,

Please try to set the ReadOnly property for the variable.
If the issue is still present, please send us a sample report with test data that reproduces the issue for analysis.

Thank you.

Re: Variable get wrong values

Posted: Wed Aug 31, 2022 8:25 am
by Frednews
It seems that the "readonly" setting fix the problem
Thank you

Re: Variable get wrong values

Posted: Wed Aug 31, 2022 12:09 pm
by Max Shamanov
Hello,

You are welcome!