[FONT=Verdana][COLOR=black][COLOR=black][FONT=Verdana]IIf([payment terms]="NET 30", [/FONT][/COLOR][/COLOR][/FONT]
[FONT=Verdana][COLOR=black][COLOR=black][FONT=Verdana][COLOR=seagreen][B][COLOR=darkorchid] cStr([/COLOR][invoice date sent]+30[COLOR=darkorchid])[/COLOR][/B][/COLOR], [/FONT][/COLOR][/COLOR][/FONT]
[FONT=Verdana][COLOR=black] [COLOR=black][FONT=Verdana]IIf([payment terms]="Net 45", [/FONT][/COLOR][/COLOR][/FONT]
[FONT=Verdana][COLOR=black] [COLOR=black][FONT=Verdana][COLOR=seagreen][B][COLOR=black][FONT=Verdana][COLOR=seagreen][B][COLOR=darkorchid]cStr([/COLOR][[/B][/COLOR][/FONT][/COLOR]invoice date sent]+45[COLOR=darkorchid])[/COLOR][/B][/COLOR], [/FONT][/COLOR][/COLOR][/FONT]
[FONT=Verdana][COLOR=black] [COLOR=black][FONT=Verdana]IIf([payment terms]="Due Upon Receipt", [/FONT][/COLOR][/COLOR][/FONT]
[FONT=Verdana][COLOR=black] [COLOR=black][FONT=Verdana][COLOR=red][B]"Due Upon Receipt Past Due"[/B][/COLOR], [/FONT][/COLOR][/COLOR][/FONT]
[FONT=Verdana][COLOR=black] [COLOR=black][FONT=Verdana][COLOR=red][B]"UNKNOWN"[/B][/COLOR][/FONT][/COLOR][/COLOR][/FONT]
[FONT=Verdana][COLOR=black][COLOR=black][FONT=Verdana] )[/FONT][/COLOR][/COLOR][/FONT]
[FONT=Verdana][COLOR=black] [COLOR=black][FONT=Verdana])[/FONT][/COLOR][/COLOR][/FONT]
[FONT=Verdana][COLOR=black][COLOR=black][FONT=Verdana])[/FONT][/COLOR]
[/COLOR][/FONT]