Reputation: 77
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.
Upvotes: 0
Views: 8163
Reputation: 1
I used conditions in StimulSoft like this:
{Test.Test=="1"?"1":""}
Upvotes: 0
Reputation: 20560
Stimulsoft is treating =
as assignment, not Boolean comparison. Use ==
:
{IIF(Test.Test =="1","l","")}
Upvotes: 1