下面的陈述已经崩溃,我不明白为什么。 500 qty上的错误是说我只能引用当前数据集中的字段,(我相信我是)! 任何人都可以提供帮助。
由于
=IIF(
( Fields!Quantity.Value>=500,
(Fields!QTY500_.Value, "SellingPrice"),
IIF(
Fields!Quantity.Value<=499 AND Fields!Quantity.Value >=100,
(Fields!QTY100_499.Value, "SellingPrice"),
IIF(
Fields!Quantity.Value<=99) AND (Fields!Quantity.Value)>=10,
(Fields!QTY10_99.Value, "SellingPrice"),
(Fields!QTY1_9.Value, "SellingPrice")
)
)
)
)
答案 0 :(得分:1)
IIF(Fields!Quantity.Value)&lt; = 99 - &gt;这是问题所在 应该是IIF(Fields!Quantity.Value&lt; = 99