I am using Grid when reaching on last column after pressing enter it goes on first column on same row. I want when user press enter at last column, cursor should go on second row first column automatically.This code in the KeyPress of the textbox in the last grid column:
IF nKeyCode = 13
WITH This.Parent.Parent
SKIP IN ( .RecordSource )
IF EOF( .RecordSource )
GO BOTTOM IN ( .RecordSource )
ENDIF
.Column1.SetFocus()
NODEFAULT
ENDWITH
ENDIF