I currently have four date fields: AgreementDate, RevCompDt, RevDueDt and RevByDt. The AgreementDate and RevCompDt are manual entry fields and RevDueDt and RevByDt are calculated.
The formula for each is:RevDueDt = IIf(IsNull([RevCompDt]),[AgreementDate]+335,[RevCompDt]+335)
RevByDt = [RevDueDt]+60
So for example if the AgreementDate is 01/06/2015 and there is no RevCompDt the RevDueDt will be 01/06/2015 + 335 days and the RevByDt will be 01/06/2015 + 395 days or (RevDueDt + 60 days). The following year the RevCompDt will be entered and the formulas will use that date to calculate the next RevDueDt and RevByDt.
I want to change this so that the RevDueDt and RevByDt are always, in this example, the 01/06 - and + 30 days the next year ie: when 01/06/2016 + 30 days has gone the ReveDueDt and RevByDt automatically changes to 01/06/2016 - 30 days and 01/06/2016 + 30 days.
Hope the explanation and example is clear enough. Any help much appreciated.
Regards
Smalty
The formula for each is:RevDueDt = IIf(IsNull([RevCompDt]),[AgreementDate]+335,[RevCompDt]+335)
RevByDt = [RevDueDt]+60
So for example if the AgreementDate is 01/06/2015 and there is no RevCompDt the RevDueDt will be 01/06/2015 + 335 days and the RevByDt will be 01/06/2015 + 395 days or (RevDueDt + 60 days). The following year the RevCompDt will be entered and the formulas will use that date to calculate the next RevDueDt and RevByDt.
I want to change this so that the RevDueDt and RevByDt are always, in this example, the 01/06 - and + 30 days the next year ie: when 01/06/2016 + 30 days has gone the ReveDueDt and RevByDt automatically changes to 01/06/2016 - 30 days and 01/06/2016 + 30 days.
Hope the explanation and example is clear enough. Any help much appreciated.
Regards
Smalty