Xml 报告的定义无效
正在尝试创建RDLC报告,但遇到异常: textrun“Textbox40.段落[0].TextRuns[0]”的值表达式包含错误:[BC30516]重载解析失败,因为没有可访问的“IIf”接受此数量的参数。代码如下:Xml 报告的定义无效,xml,rdlc,reportviewer,Xml,Rdlc,Reportviewer,正在尝试创建RDLC报告,但遇到异常: textrun“Textbox40.段落[0].TextRuns[0]”的值表达式包含错误:[BC30516]重载解析失败,因为没有可访问的“IIf”接受此数量的参数。代码如下: <Value> =Fields!TermsDescription.Value & " " & Fields!Pr
<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>
必须指定第一个函数的FalsePart
=IIf(
Expression1,
TruePart1 & IIf(Expression2, TruePart2, FalsePart2),
FalsePart1
)