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
Variable get wrong values
-
- Posts: 6196
- Joined: Tue Mar 20, 2018 5:34 am
Re: Variable get wrong values
Hello,
Please send us a sample report with test data that reproduces the issue for analysis.
Thank you.
Please send us a sample report with test data that reproduces the issue for analysis.
Thank you.
Re: Variable get wrong values
Hi,
I attached a document with a little bit documentation of this behaviour.
Thanks
I attached a document with a little bit documentation of this behaviour.
Thanks
- Attachments
-
- variable_problem.pdf
- (59.49 KiB) Downloaded 67 times
-
- Posts: 6196
- Joined: Tue Mar 20, 2018 5:34 am
Re: Variable get wrong values
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.
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
It seems that the "readonly" setting fix the problem
Thank you
Thank you
-
- Posts: 767
- Joined: Tue Sep 07, 2021 10:11 am
Re: Variable get wrong values
Hello,
You are welcome!
You are welcome!