I have a table in Access with the following stucture:
Each activity ID can only have ONE responsible supervisor, so I am trying to make a query that will automatically update all records with identical activity ID's when the responsible supervisor for one of them is changed.
For example, if I were to change Smith, John to Calvin, Mike in the first record I would like the second record to update to this as well because the Activity ID is the same.
The idea I am going for is to join the table with itself based on ActivityID and update rows to have the same Responsible Supervisor if the Activity ID is the same.
I have tried the following code, but to no avail since it just seems to call on itself.
UPDATE tblHOURS
SET tblHOURS![ResponsibleSupervisor] = [tblHOURS]![ResponsibleSupervisor]
WHERE (([tblHOURS]![ActivityID]=[tblHOURS]![ActivityID]));
Thanks in advance!