>First of all, thanks a lot of your response !
>
>the controlsource of grid is table, and buffer mode=5, I would like
>to the grid can automatic add blank record while the user press entry
>in last grid column.
>
>
>>>How to add record when the cursor lost focus in last column?
>>
>>More information please...
>>
>>Is the record source of the grid a table, a view, or a cursor ??? Is the record source updatable, and is it still selected ???
>>
>>Regards,
An easy way of doing it :
-Set grid.allowaddnew = .t.
-Lostfocus of last column.control
go bottom in (this.parent.parent.recordsource)
keyboard "{DNARROW}"
Cetin