nosoyaguru
Programmer
Why is it that the statement below only works for the first IF condition, I can switch the statements around but only the first condition works:
if ({GUARANTEE_REPORT.PLUS_CERTIFIED_AMOUNT} > 0)
then "PLUS"
Else
if ({GUARANTEE_REPORT.SUB_CERTIFIED_AMOUNT} > 0)
then "SUB"
else
if ({GUARANTEE_REPORT.UNSUB_CERTIFIED_AMOUNT} > 0)
then "UNSUB"
else
if ({GUARANTEE_REPORT.UNSUB_CERTIFIED_AMOUNT} > 0 and
{GUARANTEE_REPORT.SUB_CERTIFIED_AMOUNT} > 0)
then "COMB";
There are no syntax errors on Crystal 9.2 and Oracle 10g.
Any help will be appreciated.
if ({GUARANTEE_REPORT.PLUS_CERTIFIED_AMOUNT} > 0)
then "PLUS"
Else
if ({GUARANTEE_REPORT.SUB_CERTIFIED_AMOUNT} > 0)
then "SUB"
else
if ({GUARANTEE_REPORT.UNSUB_CERTIFIED_AMOUNT} > 0)
then "UNSUB"
else
if ({GUARANTEE_REPORT.UNSUB_CERTIFIED_AMOUNT} > 0 and
{GUARANTEE_REPORT.SUB_CERTIFIED_AMOUNT} > 0)
then "COMB";
There are no syntax errors on Crystal 9.2 and Oracle 10g.
Any help will be appreciated.