thisform.grid1.column3.controlsource='tempnota.teste' thisform.grid1.column4.controlsource='tempnota.prova' thisform.grid1.column5.controlsource='tempnota.qualit' thisform.grid1.column6.controlsource='tempnota.outros' thisform.grid1.column7.controlsource='tempnota.teste + tempnota.qualit + tempnota.prova + tempnota.outros'If you absolutely need a field for total in your table, update it in the grid's AfterRowColChange event!
replace tempnota.total with tempnota.teste + tempnota.qualit + tempnota.prova + tempnota.outros in tempnota>Cause i become crazy whit that.