Hi all,
can someone explain the sequence of events when one clicks on the 'deleted' column/ tab in a grid?
I know it triggers the grid.deleted method.
Here is what I have in mind:
User clicks on Deleted tab/ column in grid.
It calls the deleted. method
Code asking if sure to delete (Messagebox ...)
If yes
Return
Else
prevent form deletion && here comes the question
Endif
The question: in the 'prevent deletion' line, is the record already marked for deletion at this time and I need to issue a TableRevert, or, is it not yet deleted and I need to issue a Return .f.
Any help would be appreciated!
Rainer
can someone explain the sequence of events when one clicks on the 'deleted' column/ tab in a grid?
I know it triggers the grid.deleted method.
Here is what I have in mind:
User clicks on Deleted tab/ column in grid.
It calls the deleted. method
Code asking if sure to delete (Messagebox ...)
If yes
Return
Else
prevent form deletion && here comes the question
Endif
The question: in the 'prevent deletion' line, is the record already marked for deletion at this time and I need to issue a TableRevert, or, is it not yet deleted and I need to issue a Return .f.
Any help would be appreciated!
Rainer