D
Dave Elliott
The code below works fine as long as the customer is 30,60, or 90 days past
due, But if they are not past 30 days, it does not work It still adds in the
30 day per centage (2%). Also here is code for 30 days , 60 days, and 90
days. In case I did something wrong with it.
0-30: IIf([DaysPastDue]<0,CCur([Order Amount]*0.02),0) 30 Day Code
0-60: IIf([DaysPastDue]<-31,CCur([Order Amount])*0.03) 60 Day Code
0-90: IIf([DaysPastDue]<-61,CCur([Order Amount])*0.04) 90 Day Code
The code below adds up the everything. What am I doing wrong ?
=IIf([DaysPastDue]<-61,CCur([Order
Amount]*1.04),IIf([DaysPastDue]<-31,CCur([Order
Amount]*1.03),IIf([DaysPastDue]<0,CCur([Order Amount]*1.02),0)))
due, But if they are not past 30 days, it does not work It still adds in the
30 day per centage (2%). Also here is code for 30 days , 60 days, and 90
days. In case I did something wrong with it.
0-30: IIf([DaysPastDue]<0,CCur([Order Amount]*0.02),0) 30 Day Code
0-60: IIf([DaysPastDue]<-31,CCur([Order Amount])*0.03) 60 Day Code
0-90: IIf([DaysPastDue]<-61,CCur([Order Amount])*0.04) 90 Day Code
The code below adds up the everything. What am I doing wrong ?
=IIf([DaysPastDue]<-61,CCur([Order
Amount]*1.04),IIf([DaysPastDue]<-31,CCur([Order
Amount]*1.03),IIf([DaysPastDue]<0,CCur([Order Amount]*1.02),0)))