mig28mx
22nd November 2011, 21:19
Hello all,
I´m trying to generate a report like the trial balance where it gets all the amounts at level 0 and then generate the amounts of parent account´s level.

At level 0, the program works ok, but at superior level, it mixes the sum of the accounts.

Attach is my code, any sugestion?

Thank you in advance!.

mig28mx
23rd November 2011, 18:11
Hello all,
It was a bug in my code.
After updating the table, the pointer gets anohter value.
So, saving and restoring the values before and after of the update section do the trick.

Thank you all!