我有一个复杂的可见性表达式,如下所示,似乎无法正常工作
=IIF((First(Fields!DeliveryTerms.Value, "PurchPurchaseOrderLine") = "1" AND ((Globals!TotalPages-1) = Globals!PageNumber))
OR ((First(Fields!DeliveryTerms.Value, "PurchPurchaseOrderLine") = "0" AND (Globals!TotalPages = Globals!PageNumber)), true, false)
答案 0 :(得分:1)
如果您提供了错误,那将会很有帮助。看看IIF,似乎括号之间存在不匹配,请尝试下面给出的一个。
=IIF((First(Fields!DeliveryTerms.Value, "PurchPurchaseOrderLine") = "1" AND ((Globals!TotalPages-1) = Globals!PageNumber))
OR (First(Fields!DeliveryTerms.Value, "PurchPurchaseOrderLine") = "0" AND (Globals!TotalPages = Globals!PageNumber)),true, false)