in a repeater, what's the best way to get items above this item?

I'm building a little system for a friend, and we need to add up all before the current repeated to determine when they will start... I can get all items but if I do that I know know which item this sub field belongs too
Was this page helpful?