Stimulsoft 报告工具中的 IIF 条件

IIF condition in Stimulsoft Reporting Tool

Stimulsoft 报告工具中的 if 条件有问题。

上下文:在 Stimulsoft 报告工具中构建报告。该报告将使用 If 条件来显示资产的进度。

问题:在编写 iif 条件时遇到错误

"Cannot be assigned to read only error"

我的条款: {IIF(Test.Test=1),"l",""}

而 SSRS 中的相同条件正在运行 =IIF((字段!Test.Value) = 1, "l","")

任何建议。

Stimulsoft 将 = 视为赋值,而不是布尔比较。使用 ==:

{IIF(Test.Test =="1","l","")}