What is the simplest way to implement a confirmation on record delete across a number of forms in a solution?
When the user presses a button I want an ‘Are you sure?’ before the deleteRecord() takes place.
It would be wonderful if this could be set as some sort of global configuration default for the entire application.
ideas?
create a global method which handles a delete record, so:
dialog > catch answer > if answer = yes, do delete.
assign this global method to the ‘onRecordDelete’ trigger of all your forms.