报表定义无效
The definition of the report is invalid
正在尝试创建 RDLC 报告,但 运行 出现异常:
文本运行“Textbox40.Paragraphs[0].TextRuns[0]”的值表达式包含错误:[BC30516] 重载解析失败,因为没有可访问的 'IIf' 接受这个数量的参数。这是代码:
<Value>
=Fields!TermsDescription.Value & " " & Fields!PrimaryCurrency.Value & vbcrlf &
iif((Parameters!DocType.Value = "INVOICE" and Fields!ShowInterestStatement.Value), "1.5% Per Month (19.56% per Annum)" & vbcrlf & "Will be Charged on Overdue Accounts" & vbcrlf &
IIF((Parameters!DocType.Value = "ORDER ACKNOWLEDGEMENT"), "All goods sold are subject to Apex Remington's terms and conditions of sale which are available for your review at http://www.apexdistribution.com/terms", "test") &
</Value>
您必须指定第一个 IIf 函数的 FalsePart
。
=IIf(
Expression1,
TruePart1 & IIf(Expression2, TruePart2, FalsePart2),
FalsePart1
)
正在尝试创建 RDLC 报告,但 运行 出现异常:
文本运行“Textbox40.Paragraphs[0].TextRuns[0]”的值表达式包含错误:[BC30516] 重载解析失败,因为没有可访问的 'IIf' 接受这个数量的参数。这是代码:
<Value>
=Fields!TermsDescription.Value & " " & Fields!PrimaryCurrency.Value & vbcrlf &
iif((Parameters!DocType.Value = "INVOICE" and Fields!ShowInterestStatement.Value), "1.5% Per Month (19.56% per Annum)" & vbcrlf & "Will be Charged on Overdue Accounts" & vbcrlf &
IIF((Parameters!DocType.Value = "ORDER ACKNOWLEDGEMENT"), "All goods sold are subject to Apex Remington's terms and conditions of sale which are available for your review at http://www.apexdistribution.com/terms", "test") &
</Value>
您必须指定第一个 IIf 函数的 FalsePart
。
=IIf(
Expression1,
TruePart1 & IIf(Expression2, TruePart2, FalsePart2),
FalsePart1
)