View Single Post
Old June 4th, 2010, 06:29 PM posted to microsoft.public.access.queries
external usenet poster
Posts: 39
Default How to calculate days due?

I have a table (tblTerms) with 2 fields [strTerms] & [dblDaysDue]. The
typical terms in the table would be 2%10 Net 30 with [dblDaysDue] having a
value of 30. I then take the difference between the ship date from the
invoice and the paid date to calculate if they are paying within terms.
Everything works well, but now there's a customer with terms of 6/1. How can
I calculate if they are paying within terms when the number of days due
changes everyday?