Crystal reports 具有If条件的StimulSoft报告变量/公式
我有一些水晶公式,如下面的代码。 我想把它改成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
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)) }