Let’s say a have a TableA:[pre]
PK Status SomeField ManagerID
1 A ABC 123
2 N XYZ 345
3 Z OPQ 675[/pre]
And I have a Manager table:[pre]
ID ManagerName
123 Susie Brown
345 Bob Smith
675 Joe Water[/pre]
All is nice and works OK.
But here is the situation: Managers move from place to place, department to department, they retire, quit, etc. If I have an on-going project in TableA (Status of Active, New, etc.), I can just keep the Manager’s ID and refer to Manager’s table. But when the project (record in TableA) is done and marked as Archive (Status: Z), I want to keep the information who was the Manager for that Project even if this person is no longer with the Company or moved to be the Manager some place else, or was replaced with another Manager.
Do I keep another field in TableA with Manager’s Name? That way I would copy info from Manager’s table, not the best solution.
What do you do in this situation?
Have fun.
---- Andy
There is a great need for a sarcasm font.
PK Status SomeField ManagerID
1 A ABC 123
2 N XYZ 345
3 Z OPQ 675[/pre]
And I have a Manager table:[pre]
ID ManagerName
123 Susie Brown
345 Bob Smith
675 Joe Water[/pre]
All is nice and works OK.
But here is the situation: Managers move from place to place, department to department, they retire, quit, etc. If I have an on-going project in TableA (Status of Active, New, etc.), I can just keep the Manager’s ID and refer to Manager’s table. But when the project (record in TableA) is done and marked as Archive (Status: Z), I want to keep the information who was the Manager for that Project even if this person is no longer with the Company or moved to be the Manager some place else, or was replaced with another Manager.
Do I keep another field in TableA with Manager’s Name? That way I would copy info from Manager’s table, not the best solution.
What do you do in this situation?
Have fun.
---- Andy
There is a great need for a sarcasm font.