Help in debugging in formula fields

Posted by Rollbase User on 22-Feb-2010 05:19

I had this code snippet... var ctr = 0; var total = 0; for (ctr = 0; ctr

All Replies

Posted by Admin on 23-Feb-2010 17:31

I'd recommend you visualize your results first:

var buff = '';
for (var y=0; y
for (var x=0; x
buff += tf[y][x]+"\t";
}
buff += "\n";
}


Also, since you only need to calculate sum of all records, it would be much easier to use SUM() inside your SQL query rather that trying to bring an array back to client side and calculate sum there.

This thread is closed