Yes, thanks. I just added "thisform.grid1.refresh()" then it works.
>Hi Power Wong.
>
>>> thisform.grid1.ActivateCell(thisform.grid1.ActiveRow + 1,1)
>thisform.grid1.setfocus()
>It still stay in the first column and row.
>How can it go to the 2nd row automatically after "append blank"? <<
>
>I assume you are aadding your new record in the keyPress of the Text box contained in the last column. After APPEND BLANK, use this code:
>
>
>WITH This.Parent.Parent
> .Refresh()
> .Column1.SetFocus()
>ENDWITH
>
>
>Should do what you want.
>
>Marcia
Power Wong
Every problem will have a solution, the only problem is that can you find it out.