I have some formulas looking at data,
i just found out that we dont want the 0 but the credit amounts we do want to show. how to code for not = 0 hereon the first IF?
numberVar amt :=0;
shared numbervar show:=show;
if show>0 then
amt:=0
else if({ICSUM1.IQA01}>0) then
amt:= {ICSUM1.IQA01}
else if({ICSUM1.IQA02}>0) then
amt:={ICSUM1.IQA02}
else if({ICSUM1.IQA03}>0) then
amt:= {ICSUM1.IQA03}
else if({ICSUM1.IQA04}>0) then
amt:= {ICSUM1.IQA04}
else if({ICSUM1.IQA05}>0) then
amt:= {ICSUM1.IQA05}
else if({ICSUM1.IQA06}>0) then
amt:= {ICSUM1.IQA06}
else if({ICSUM1.IQA07}>0) then
amt:= {ICSUM1.IQA07}
else if({ICSUM1.IQA08}>0) then
amt:= {ICSUM1.IQA08}
else if({ICSUM1.IQA09}>0) then
amt:= {ICSUM1.IQA09}
else if({ICSUM1.IQA10}>0) then
amt:= {ICSUM1.IQA10}
else if({ICSUM1.IQA11}>0) then
amt:= {ICSUM1.IQA11}
else if({ICSUM1.IQA12}>0) then
amt:= {ICSUM1.IQA12}