【发布时间】:2015-09-22 16:43:18
【问题描述】:
我正在使用这个 exp 来计算在 RDLC 报告上支付的总费用:
=Sum(IIf(Fields!ResponseDescription.Value ="Approved Successful",Int(Fields!Amount.Value), 0))
我在结果列中得到#ERROR,这可能是什么问题? .
上面类似的 Exp 工作正常:
=Sum(IIf(Fields!ResponseDescription.Value <> "",Int(Fields!Amount.Value), 0))
几点说明:
1- Amount 始终是 INTEGER 并且存在。
2- ResponseDescription 始终是 STRING 并且存在。
谢谢
【问题讨论】: