My database has staff reference table, listing all the current staff.
On my main table, there are 2 separate staff fields - one for the person who did initial contact, and one for the person who later was assigned the case. Both of these fields store numeric data (since they appear on the form as option groups).
When I set up the relationship to link the two tables, Access won't let me link my staffcode field from my reference table to both of the staff fields on my main table, unless I deactivate the "enforce referential integrity" box. I want to enforce referential integrity for both relationships, in case of staff changes or name changes. How can I do this?
I've attached an image of the error message and relationships.
Thanks in advance.
On my main table, there are 2 separate staff fields - one for the person who did initial contact, and one for the person who later was assigned the case. Both of these fields store numeric data (since they appear on the form as option groups).
When I set up the relationship to link the two tables, Access won't let me link my staffcode field from my reference table to both of the staff fields on my main table, unless I deactivate the "enforce referential integrity" box. I want to enforce referential integrity for both relationships, in case of staff changes or name changes. How can I do this?
I've attached an image of the error message and relationships.
Thanks in advance.