>This is the code i have in the afterrowcolchange
>
>*Actualizar las información de total
>SELECT Sum(Puerto1) As Libras FROM tmpDistribucion INTO CURSOR tmpTotalPuertos
>
>UPDATE curTotalDetalle SET Puerto1 = tmpTotalPuertos.Libras WHERE TipoTotal = "Libras Totales"
>
>USE IN tmpTotalPuertos
>
>i am showing this in a grid "curTotalDetalle"
>
>when i move to a new row, the value is updated, if i move to a new column in the same row the value is not updated.
Oh my. Wish you told what you were trying to do from the start. This is the worst way to get totals IMHO. Why do you sum each time you change a value in a column. Other rows have old values and no need to calculate again.
All you need is an initial sum. Store the result somewhere. Then when a column value changes add (NewValue - OldValue) to StoredTotal.
Cetin