I usually get this message when I do not have the variable specifically listed in the 
report
definition.

--- John Engwer <[EMAIL PROTECTED]> wrote:

> 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
> 
> 


=====
Albert Berry 
Management Consultant
RR2 - 1252 Ponderosa Drive
Sparwood BC, V0B 2G2 
Canada
(250) 425-5806
(250) 425-7259
(708) 575-3952 (fax)
[EMAIL PROTECTED]

Reply via email to