>Dear Experts
>
>There is a grid on form with allowaddnew=.t.
>I have following codes to populate
>
>select table1
>index on sno to table11
>
>thisform.grid1.recordsource="Table1"
>thisform.grid1.column1.controlsource="Table1.sno"
>thisform.grid1.column2.controlsource="Table1.name"
>thisform.grid1.column1.setfocus
>thisform.refresh
>
>
>I want to stop dnarrow in grid.
>I want to use only Enter key to go to next row.
>
>Please help
Just bind KeyPress event of all textboxes to generic method and disable DnArrow with NODEFAULT.
If it's not broken, fix it until it is.
My Blog