>To all who have endured this thread:
>
>Thanks for all the ideas. As my final word - the problem with the grid deletion stems from setting AllowAddNew = .T. - a row added with the downarrow key can be deleted - but the grid will NOT refresh properly - and this deleted row will still be visible.
>
>My best workaround is to set AllowAddNew =.F. and trap the INS key from within the grid and use program code in the keypress event to add new rows. These rows delete properly. It also eliminates the user [or a cat] from leaning on the downarrow key and adding 50 rows to the invoice. Not exactly the "active grid" I had dreamed of for invoicing - but this works.
My users like to use down arrow key. Is it possible to trap the
down arrow instead of Ins ?
How to move to first column after adding row?
AllowAddNew handles this automatically.
Andrus