I have a delete button to delete a selected record. In order to stop accidental deletions I have set the property of the delete button to:
Enabled = No
Then once a user unlocks the record, the button becomes enabled.
My question is how can I get the button to revert back to Enabled = No...