=IIf(Now()-[datefinished]<30 And [amount
due]>0,0,(([Subtotal])*1.5)/100)+[Sales Tax]
TIA
MMJII
You likely can calculate a late fee using an expression similar to this
(assuming that the late fee is 1.5% of the amount due (without including
previous late fees) each month):
=[Subtotal]*(0.015*(DateDiff("d", [datefinished], Now()) \ 30))
--
Ken Snell
<MS ACCESS MVP>
"MMJII" <macjo...@angelojohnson.com> wrote in message
news:exn4bJMz...@TK2MSFTNGP10.phx.gbl...
Thank you for your time & knowledge.
The late fee is 1.5% of the outstanding balance including previous late
fees.
every thirty days.
example
1/1/04 - Bal due 100.00
2/1/04 - Bal due 100.00 x 1.5% = 101.50
3/1/04 - Bal due 101.50 x 1.5% = 103.02 etc...
MMJ II
"Ken Snell" <kthiss...@notcomcast.realnet> wrote in message
news:OofYaZMz...@tk2msftngp13.phx.gbl...
LateFee = [Subtotal]*(1.015^(DateDiff("d", [datefinished], Now()) \ 30) - 1)
--
Ken Snell
<MS ACCESS MVP>
"MMJII" <macjo...@angelojohnson.com> wrote in message
news:uTs6upkz...@tk2msftngp13.phx.gbl...
BalanceDue * (1.015 ^ (DaysOverdue/30))
SO, if you want it to use entire 30 day periods only
(DateDiff("d",DateFinished,Date())\30)
Subtotal * (1.015^(DateDiff("d",DateFinished,Date())\30))
It is very much appreciated.
Have a Happy New Year !!!!
MMJ II
"John Spencer (MVP)" <spen...@comcast.net> wrote in message
news:3FF0CE29...@comcast.net...