-1

基本上我转换了这个水晶报表公式

if ucas({?Trade Buy or Sell}) = "Trade Buy" 
then "IOSW_BUY_01" 
else if ucase({?Trade Buy or Sell})="Trade Sell" then IOSW_SELL_02.

至:

SSRS -IIF(Fields!TradeBuyorSell.Value="Trade Buy","IOSW_BUY_01", 
IIF(Fields!TradeBuyorSell.Value="Trade Sell","IOSW_SELL_02"))

但是,我收到以下错误消息

错误信息

[rsCompilerErrorInExpression]textrun 'TradeBuyorSell.Paragraphs[0].TextRuns[0] 的值表达式包含错误:[BC30455]Argument not specified for parameter 'FalsePart'of Public Function IIF(Expression As Boolean, TruePart As Object, FalsePart作为对象)作为对象'

请协助这是非常紧急的。

4

1 回答 1

0

您的内部 IIF 缺少函数的第二个“错误”部分。

IIF(Fields!TradeBuyorSell.Value="Trade Buy","IOSW_BUY_01", IIF(Fields!TradeBuyorSell.Value="Trade Sell","IOSW_SELL_02", **************))

* ** * **替换为需要去那里的值。

于 2012-08-02T14:02:06.003 回答