paulfields4
New Member
- Joined
- Mar 20, 2015
- Messages
- 10
I have all these fields some have negative numbers. If one of the fields does I want it to display a zero. If it does not I want it to display the consultfee assoicated with that invoice. I am trying to do this with the following statement.
=IIf(Nz([1-30 Days]) And Nz([31-60 Days days]) And Nz([61-90 Days days]) And Nz([91-180Days days]) And Nz([180-360Day days]) And Nz([Over360Day days])>=0,0 Or IIf(Nz([1-30 Days]) And Nz([31-60 Days days]) And Nz([61-90 Days days]) And Nz([91-180Days days]) And Nz([180-360Day days]) And Nz([Over360Day days])<=0,([ConsultFee])))
=IIf(Nz([1-30 Days]) And Nz([31-60 Days days]) And Nz([61-90 Days days]) And Nz([91-180Days days]) And Nz([180-360Day days]) And Nz([Over360Day days])>=0,0 Or IIf(Nz([1-30 Days]) And Nz([31-60 Days days]) And Nz([61-90 Days days]) And Nz([91-180Days days]) And Nz([180-360Day days]) And Nz([Over360Day days])<=0,([ConsultFee])))