Thanks John,
I didn't have subscription to Foxtalk (until 15 mins ago). I would really like to read that article; may have to buy a copy of the article. Putting Grid.Refresh in Deleted doesn't fix prob. It seems that the actual record delete doesn't occur until after exiting the Deleted event method. I may have to rethink using the grid delete column if there's no way to set up a delete/recall button caption based on current record status.
Thanks for the info, though. It's nice to find out that FoxTalk is still being published.
Bill
>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
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only