>Not helping.
>How can I get the focus in the next line at the left column in grid even my focus now is on the right column.
Have you tried setting the grid's AllowAddNew property to .T.? That would eliminate the need for all the code you have in the Keypress method.