Thanks for your help. Really appreciate that. I dragged in the project that is at its end before go live..
I ran the script and the out put that appears in last column after delta2 starting from 2013-10-15
and goes down decrementing by 1 day is the requirement
delta2(No column name)
-115/10/2013
-214/10/2013
-313/10/2013
-412/10/2013
-511/10/2013
it keep on decrementing the accrualdate till the last record.
apologies if it is still not clear 🙁 hope this help you .