>I just created a test form with a grid and a button with following code in the button click
Select Prod1
>Delete
>Skip
>This.Parent.Grid1.Refresh()
and it works. I can delete any record I want.
>
Sergey,
Instead of skip have you tried go recno() as I originally suggested? Otherwise your skip should be surrounded with if !eof() skip endif.
BTW, Henry, why your name is Ravi? :)
>>Thanks Sergey. It works - but if I try deleteing another record after the triggering the delete event once, nothing happens, i.e., the second record that I was trying to delete was not deleted nor was it marked for deletion in the table.
>>
>>- Ravi
If it's not broken, fix it until it is.
My Blog