Tim Keating
Senior Member
  

DBA CLASSIC WIN 2000 C/S
Posts: 298
|
I've been kicking this little gem around: date(Year(dateadd('m',{@ProxMo},datetime({BKARINVT.BKAR_INVT_DATE}))),month(date add('m',{@ProxMo},datetime({BKARINVT.BKAR_INVT_DATE}))),25) The @ProxMo formula determines whether to advance one month or two, depending on the invoice date: if day({BKARINVT.BKAR_INVT_DATE}) < 25 then 1 else 2 I've got to learn how to use declared variables.
|