Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I assume that vNumRows is something like noofrows() and contained the number of records of the table. In this case the index starts by 1 whereby the index of peek() starts by 0 and therefore the loop runs one too often. Just adjust it by:
for it_accounts=0 to $(vNumRows) - 1