you sir are a gentleman and a scholar, through my own research on this problem i was looking at sub queries / running totals. sub queries being a novel concept to my self, the solution wasn't immediately obvious.
your first query gave some errors, i had to do some further research on the topic...