Reputation: 169
Trying to create an RDLC report but am running into an exception:
The Value expression for the textrun ‘Textbox40.Paragraphs[0].TextRuns[0]’ contains an error: [BC30516] Overload resolution failed because no accessible 'IIf' accepts this number of arguments. Here's the code:
<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>
Upvotes: 0
Views: 482