I am having an odd problem with the formula below. When the numbervar is commented out the behaviour I want where if PRTY is 999 then PRTY works. However, if I put the numbervar line in then I just get a blank value. Does anyone have any thoughts as I am not sure why this is making such a difference ? The numbervar is used but I have commented it out for testing. Also this formula is calculated after the @Calc_Elap_Against_ASL formula.
Many thanks - ShortyA
Numbervar Diff := DateDiff("d",CurrentDate,if {@Calc_Elap_Against_ASL}>5 then 'g - Due in >5 days'
else 'Due in less than 5 days'
else {BI0001.PRTY}
Many thanks - ShortyA
Numbervar Diff := DateDiff("d",CurrentDate,if {@Calc_Elap_Against_ASL}>5 then 'g - Due in >5 days'
else 'Due in less than 5 days'
else {BI0001.PRTY}