I have the following text expression in a report. vDISCOUNT = (IFGT(DISCOUNT,0,'DISCOUNTED',null)) The expression displays "DISCOUNTED" in the line item receipt if the purchase was discounted. The field DISCOUNT is a currency field This expression works OK in DOS version 4.5++
No errors are reported when the expression is created but it prints (NOT DEFINED) instead of DISCOUNTED. Is there something wrong with this expression? Is it a problem that the field DISCOUNT is currency and the variable vDISCOUNT is text? John
