Having problems with if condition in Stimulsoft Reporting tool.
Context: Building a report in Stimulsoft Reporting tool. The report will use If conditions to show progress of assets.
Problem: When writing the IIF condition I encounter error:
Cannot be assigned to read only error
My clause:
{IIF(Test.Test=1),"l",""}
Whereas the same Condition in SSRS is working
=IIF((Fields!Test.Value) = 1, "l","")
Any suggestions.
Stimulsoft is treating =
as assignment, not Boolean comparison. Use ==
:
{IIF(Test.Test =="1","l","")}