下面的语句已经崩溃,我不明白为什么。它在 500 数量上出错,说明我只能引用当前数据集中的字段,(我相信我是)!!!!!!任何人都可以帮忙。
谢谢
=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")
)
)
)
)