>Hi,
>
>I use table buffering for my app.
>When I use a grid to enter new records, there is a chance the user wants to delete a new append record before saving the data.
>If I give, in code, a tablerevert(.F.) to delete the appended record and then give a Grid.refresh the Grid goes, in my opinion, completly out of scope.
>Not any record is displayed then. The grid is completly empty, but all the other records are still there (table).
>
>Anyone know how I can controll this situation or what I do wrong ??
>
>Thanks.
>Jan Alderliesten
try:
thisform.anothercontrol.setfocus
tablerevert(.T.)
thisform.grid.setfocus