I have a delete button on my forms that uses the folowing code:
Whenever I used it before it would always ask me to confirm the delete ("You are about to delete one record... are you sure?...) something to that effect. Also if I tried to close a form without filling in the mandatory fields it would tell me that I could not save the record because mandatory fields were missing.
Recently I have noticed that the same delete button with the same code no longer asks me to confirm the delete, but instead deletes the record straight away. Also if I don't fill in all the mandatory fields, the form closes straight away and does not save the incomplete record.
I don't know why it is suddenly behaving like this; I do not recall making any changes. Please can someone tell me why this is happening?
(The Edit/Find Options in Tools has all three options checked for confirm (Record changes, Document deletions, and Action queries)).