I may have completely misunderstood what you're trying to do but I think your confusion may have come from how I've laid out the dates...
Each date is a field from an individual notes document for a shift that has been completed.
So I was trying to use a loop to cycle back through x number of...
I have one person who's worked the following dates:
09/10/2011,13/10/2011,14/10/2011,21/10/2011,22/10/2011,23/10/2011,25/10/2011,28/10/2011,29/10/2011,31/10/2011
02/11/2011,07/11/2011
01/12/2011,09/12/2011,11/12/2011,13/12/2011,16,12/2011,17/12/2011,18/12/2011,23/12/2011
As the last 8 shifts...
Hi, I have a counter for how many consecutive shifts someone has worked and I'm trying to get the date of the first shift of the consecutive period by using the counter to go back through each record.
I'm guessing for each iteration of the loop it's assigning the same previous value to the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.