>Naomi,
>
>why don't you use SQL which will bring down the number of lines dramatically, and not move to another record?
>local array laValor
>select sum(valor) from ccheques where deposita = 1 into array laValor
>thisform.total.Value = m.laValor
>
I was thinking we may have a buffered table. Looks like this is not the case, so yes, we can also use Select-SQL and it would be better and shorter.
If it's not broken, fix it until it is.
My Blog