I've done what Cetin has suggested to you in one of my apps. An additional note to this is when saving remove any blank records before tableupdate(). You can do this a couple of ways:
1. Issue a DELETE FOR .... to remove blank records and TABLEUPDATE(1) to update all changes at once
2. Do a GETNEXTMODIFIED() loop and TABLEUPDATE() or TABLEREVERT() each record accordingly.
>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,
Colin Magee
Team Leader, Systems Development
Metroland Media Group Ltd.
Mississauga, Ontario, Canada
cmagee@metroland.comNever mistake having a career with having a life.