The synopsis is:OK so does tblFacility only ever have :-
1 Contractor & 1 Controller
A facility can have 20, to 30 controllers [PLC's}.
Annually, we upload the active program, saving is with a date/time stamp. This is under normal conditions.
If the active program needs to be changed/modified in any way, I will save the active program without changing the date/time stamp. When I make the changes, again I save the modified program with a new date/time stamp. In the event that I am not available or on another job and I cannot make it the the facility to make the modifications/changes to the active program, I will call out a third party contract person. When modifications are made, it will be at most, 2 employees, or 2 contract technicians.
I am trying to keep up with the programs as well as who/when changes are made.