On a subform that displays records I have record selectors enabled in case they need to delete one.
Currently I have a prompt in OnDelete (I'm not sure if this event is too late to cancel) that asks do you want to delete this record. If yes, it deletes. If I click no, it does Exit_Sub but the record is still deleted.
Is there somewhere else in the code I should prompt this? It seems like by the time it gets to OnDelete it is already deleted.
Currently I have a prompt in OnDelete (I'm not sure if this event is too late to cancel) that asks do you want to delete this record. If yes, it deletes. If I click no, it does Exit_Sub but the record is still deleted.
Is there somewhere else in the code I should prompt this? It seems like by the time it gets to OnDelete it is already deleted.