There was an article about this sort of behavior in the September FoxTalk. Try putting a Grid.Refresh() in the Deleted event.
>I want to know the deleted() status of a record viewed in a grid. I put "if deleted()..." code behind the afterRowColChange event and the status is correctly reported for the record that is moved to.
>
>The problem is when user deletes the current record. Putting the same "if deleted()..." code behind the deleted event seems to relate only to the prior status of the current record, or to the prior record's status when pointer moves to a new record. I can't get the correct deleted() status shown by the grid's delete bar when user deletes the current record in the grid's delete bar.
>
>Is there a fool-proof way to get deleted() status for the current row no matter how the user deletes and navigates in the grid? I am really stumped!
>
>Thanks in advance,
>Bill
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05