Is it possible to access the info available to a default confirmation message that appear in Access?
To explain, with the specific instance I'm considering, how can I produce my own version of the message "Relationships that specify cascading deletes...." "Are you sure....".
What I want to do is identify the records in a related table that will deleted when the specific record in this table is deleted and then give the user the opportunity of rescinding their decision. The records being directly deleted are in a subform so it's not a question of running or not running a VBA line of code instructing the delete.
I realise that I'll need to put some code into the OnDelete event but am not sure how I prevent the deletion from happening when in that procedure. Thanks
Steve House
To explain, with the specific instance I'm considering, how can I produce my own version of the message "Relationships that specify cascading deletes...." "Are you sure....".
What I want to do is identify the records in a related table that will deleted when the specific record in this table is deleted and then give the user the opportunity of rescinding their decision. The records being directly deleted are in a subform so it's not a question of running or not running a VBA line of code instructing the delete.
I realise that I'll need to put some code into the OnDelete event but am not sure how I prevent the deletion from happening when in that procedure. Thanks
Steve House