For I = 1 To RegistroTotal
TBCompra.AddNew
TBCompra("NCodigo") = me.Grid.TextMatrix(I, 1)
TBCompra("numero") = me.Grid.TextMatrix(I, 2)
TBCompra("Codigo") = me.Grid.TextMatrix(I, 3)
TBCompra("Produto") = me.Grid.TextMatrix(I, 4)
TBCompra("Unitario") = me.Grid.TextMatrix(I, 5)
TBCompra("Quantidade") = me.Grid.TextMatrix(I, 6)
TBCompra("Total") = me.Grid.TextMatrix(I, 7)
TBCompra.Update
Next I
tenta agora, só observa o numero das colunas pra ver se tao certas...