基本上,我转换了这个水晶报告公式“如果 ucas({?Trade Buy or Sell}) = “Trade Buy”然后“IOSW_BUY_01”,否则如果 ucase({?Trade Buy or Sell})="Trade Sell" 然后 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作为对象)作为对象'请协助这是非常紧急的