Tarig... better for you is don't use allowaddnew=.t
and control a use of new record by traping the use of enter key on keypress method...
and discard on the unload method all record left in blank
HTH
>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
"Now to him who is able to do immeasurably more than all we ask or imagine, according to his power that is at work within us, Ephesians 3:20