Hi,people.
I'm getting error in formula in Crystal 9.2 and cannot take it out without changing the common sense of the formula:
if {CLAIM.STATUS}='Open'then
if {?Range}='Indemnity' then
{AMOUNT.IND_RES}
else if {?Range}='Expense' then
{AMOUNT.EXP_RES}
else if {?Range}='Total' then
{AMOUNT.IND_RES} + {AMOUNT.EXP_RES}
else
true
else if {CLAIM.STATUS}='Closed'then
if {?Range}='Indemnity' then
{AMOUNT.IND_PAID}
else if {?Range}='Expense' then
{AMOUNT.EXP_PAID}
else if {?Range}='Total' then
{AMOUNT.IND_PAID} + {AMOUNT.EXP_PAID}
else if {?Range} = 'Current Range Type' then
true
(If CLAIM.STATUS not in ('Indemnity','Expense',Total'),
it doesn't have to work)
The error is:"A number is required here"
I'll appreciate any answer.
Thanks in advance.
Lana
I'm getting error in formula in Crystal 9.2 and cannot take it out without changing the common sense of the formula:
if {CLAIM.STATUS}='Open'then
if {?Range}='Indemnity' then
{AMOUNT.IND_RES}
else if {?Range}='Expense' then
{AMOUNT.EXP_RES}
else if {?Range}='Total' then
{AMOUNT.IND_RES} + {AMOUNT.EXP_RES}
else
true
else if {CLAIM.STATUS}='Closed'then
if {?Range}='Indemnity' then
{AMOUNT.IND_PAID}
else if {?Range}='Expense' then
{AMOUNT.EXP_PAID}
else if {?Range}='Total' then
{AMOUNT.IND_PAID} + {AMOUNT.EXP_PAID}
else if {?Range} = 'Current Range Type' then
true
(If CLAIM.STATUS not in ('Indemnity','Expense',Total'),
it doesn't have to work)
The error is:"A number is required here"
I'll appreciate any answer.
Thanks in advance.
Lana