Assuming ValueDate is a date try this:
iif(PromDate < 2/28/01, PromDate, iif(inv >= QtyDue, today(),
03/01/01))
If ValueDate could be yes/no then the formula is:
iif(PromDate < 2/28/01, yes, iif(inv >= QtyDue, yes, no))
You could use that field to control whether a line would print or not.
HTH
RRD
iif(PromDate < 2/28/01, PromDate, iif(inv >= QtyDue, today(),
03/01/01))
If ValueDate could be yes/no then the formula is:
iif(PromDate < 2/28/01, yes, iif(inv >= QtyDue, yes, no))
You could use that field to control whether a line would print or not.
HTH
RRD
On 9 Feb 2001, at 15:10, chuck_metcalf@... wrote:
I need help on a formula: My data looks like this;
PromDate Part# ProdQty QtyDue Inv
Value
2/9/01 12345 7 6 0
? 23456 0 5 15
3/1/01 45678 8 7 0
? 56789 0 8 10
I would like the value "Calculated Field in my report
is ValueDate"
to show up if the PromDate is before 2/28/01, or if
the unknown value
is in the PromDate, but there is enough inventory to
support the
QtyDue.
Any help would be appreciated.
Chuck
Russ Dover
IS Manager
Weaver Industries, Inc.
717 336 7507 phone
717 336 4182 fax
rdover@...
www.weaverind.com