"JC Mugs" <jcmugs@hotmail.com> wrote in
news:10094t1sa9vv340@corp.supernews.com:
[color=blue]
> I have a report coming from a query that I need to print.
>
> Question: I want to have fields print or not print on a value of one
> of the fields... Like this-
>
> IF Doz2 >0 then Print Doz2
>
> Meaning if the field Doz2 is more than 0 then print the number. I also
> hope to use this same check for additional fields in the line of the
> report. The fields are not a subreport or a part of a table.
>
> In the report the record prints like this
>
> Doz1 CPrice1 CDescription1 CExt1 (which is
> a calculated field Doz1*CPrice1)
> Doz2 CPrice2 CDescription2 CExt2
> .... and so on.
>
> I seem to have seen this somewhere, but have not been able to find it..
>
> Thanks JC[/color]
in the format property try
"#0.00","-#0.00","",""
the four parts are
positives, negatives, zeros, nulls
you can add colors as
"-#0.00"[Red]
mess with this until it shows what you want.
I would point out to you, however, that zero should be shown as 0 (zero),
and nothing should not be shown. Nothing is not zero. Nothing is not
Nothing. Nothing is nothing.
--
Lyle
(for e-mail refer to
http://ffdba.com/contacts.htm)