Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/cocoa/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Crystal reports 具有If条件的StimulSoft报告变量/公式_Crystal Reports_Stimulsoft - Fatal编程技术网

Crystal reports 具有If条件的StimulSoft报告变量/公式

Crystal reports 具有If条件的StimulSoft报告变量/公式,crystal-reports,stimulsoft,Crystal Reports,Stimulsoft,我有一些水晶公式,如下面的代码。 我想把它改成stimulsoft配方。 谁能帮帮我吗。 提前谢谢 if {Table3.osc} = 'MAN' OR IsNull({Table3.trip}) then {Table3.itemtotalsellprice} Else If UCASE({Table3.trip}) = "DISPOSAL" Then {Table3.itemsellprice}*{Table3.itemqty} Else {@sellprice}*{Tabl

我有一些水晶公式,如下面的代码。 我想把它改成stimulsoft配方。 谁能帮帮我吗。 提前谢谢

if {Table3.osc} = 'MAN' OR IsNull({Table3.trip}) then
   {Table3.itemtotalsellprice}
Else If UCASE({Table3.trip}) = "DISPOSAL" Then
   {Table3.itemsellprice}*{Table3.itemqty}
Else
  {@sellprice}*{Table3.itemqty}

尝试使用下一个表达式:

{ IIF (Table3.osc == "MAN" || Table3.trip == null), Table3.itemtotalsellprice, IIF(Table3.trip.ToUpper() == "DISPOSAL", Table3.itemsellprice*Table3.itemqty, @sellprice*Table3.itemqty)) }