>Hi All,
>
>I am experimenting with a grid's AllowAddNew property. When I set it to .T. and use the down arrow key from the last row of the grid, a new blank row appears as expected. This is ok except for the fact that I need to "intercept" this event and setup some of the fields in the underlying table.
>
>How do I do the latter? What event is fired so that I can take action?
>
>TIA.
>
>Mike
>
>PS I'd be interested in other opinions regarding adding new records using this feature. Good or bad experiences??
Mike,
With AllowAddNew, what distracts me :
-you need to be on the last row
-If you're not controlling it in BRCC pressing multiple times leaves you with multiple new empty rows.
Instead I use Ctrl+DnArrow to add. I intercept that in BRCC, check if can add and can leave current row. 3 key events are BRCC, ARCC and Valid.
Cetin