>>>Using vfp5...
>>>
>>>I have a grid on a form that I want the deleted event to fire on. I have
>>>a command button that does...
>>>
>>>
>>>select childtable
>>>delete
>>>thisform.refresh
>>>
>>>
>>>If I click the deletemark the deleted event will fire but using the
>>>command button code it will not. Any ideas?
>>
>>Joe,
>>
>>This problem discussed here couple of times. The answer is to propagate record movement in a grid, say, skip -1, skip or something similar.
>
>In grid.deleted...
>
>=messagebox('test')
>
>This never fires even if I skip -1 or skip.
Joe,
I should read your message more carefully :) Deleted method of the grid fires only when you click on DeleteMark in a grid. It would not fire, if you use DELETE command in a code.
If it's not broken, fix it until it is.
My Blog