Albert, it was/is definitely listed, that is how I selected it to put in the
report.  I deleted the field from the report and reapplied it and the
problem disappeared.

John

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Albert Berry
Sent: Monday, August 30, 2004 11:34 PM
To: RBG7-L Mailing List
Subject: [RBG7-L] - Re: Report expression

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