Right June7,
I am modifying it further for the first activity since it has no previous date to look at. And considering Recyan's questions.
For now i am happy.
Marking this solved.
Thanks once again.