Hi I would like to automatically update the value of an attribute in a field in Access 2013 if another attribute in that field is edited.
In the database backend I have selected the table I want to work on, and clicked on the AfterUpdate tab in the ribbon I enter these steps and save it, but nothing seems to happen when I update the DATE_OF_DEATH field and there is no error message generated, so I can't even debug the thing, I don't know whether the Macro is even been triggered or not, or if the IF statement is failing or if the SetField statement is failing, I'm totally in the dark. I would really appreciate some advice on fixing this. Thanks.
The code is below.
If Updated([DATE_OF_DEATH])
EditRecord
SetField
Name OUTCOME
VALUE = "test"
End EditRecord
End If