ClearlyAnIdiot
Registered User.
- Local time
- Tomorrow, 03:42
- Joined
- Aug 22, 2013
- Messages
- 39
I can't even begin to comprehend where to start with this.
There are 6 tables involved, where 4 of them are practically the same. There's the companies, people, and 4 different roles for the people. I've keyed the peoples' names and the company numbers, as well as names in the roles. Apart from names and company numbers, I want a company to show its directors, etc., and people to show what they're the shareholders of, etc.. A company may have multiple people fitting into the same role, and a person may hhold various positions over multiple companies, including up to 2 positions in the same company. How can I set up the relationships so that when I update a person's record, it will automatically update all 5 other tables, and the same for companies? So far, I have a one-to-many from the company number to roles, from the person's name to roles, and from the roles to the roles of the company.
PS: The role tables are basically the same as the people's table, but with only 2 fields. If the solution means that I have to get rid of those 4 tables, I don't really mind.
There are 6 tables involved, where 4 of them are practically the same. There's the companies, people, and 4 different roles for the people. I've keyed the peoples' names and the company numbers, as well as names in the roles. Apart from names and company numbers, I want a company to show its directors, etc., and people to show what they're the shareholders of, etc.. A company may have multiple people fitting into the same role, and a person may hhold various positions over multiple companies, including up to 2 positions in the same company. How can I set up the relationships so that when I update a person's record, it will automatically update all 5 other tables, and the same for companies? So far, I have a one-to-many from the company number to roles, from the person's name to roles, and from the roles to the roles of the company.
PS: The role tables are basically the same as the people's table, but with only 2 fields. If the solution means that I have to get rid of those 4 tables, I don't really mind.