要显示一个公式字段:Total
已知的字段是:PIN_BONUS,PIN_AWS
设定两个浮点型字段: a decimal(10,2) , b decimal(10,2)
if PIN_BONUS is null then
a = 0;
else
a = PIN_BONUS;
end if;
if PIN_AWS is null then
b = 0;
else
b = PIN_AWS;
end if;
Total = a + b;
...全文
1663打赏收藏
50分求:谁会写这个水晶报表公式?
要显示一个公式字段:Total 已知的字段是:PIN_BONUS,PIN_AWS 设定两个浮点型字段: a decimal(10,2) , b decimal(10,2) if PIN_BONUS is null then a = 0; else a = PIN_BONUS; end if; if PIN_AWS is null then b = 0; else b = PIN_AWS; end if; Total = a + b;