I have a dataset in which I am trying to add a simulated sequence number by adding a formula which is evaluated WhileReadingRecords. In it, I am using a shared variable in which I am incrementing if it belongs to the same parent and resetting if they are different. The problem is on the first record it is always 0, even if I remove all of the loic and force it to be an arbitrary value. Does anyone know the exact evaluation order and/or a way around this problem.
TIA
TIA