Forum Discussion
Relationship between Calendar table with other tables
- 9 years ago
Hi Anonymous,
Basically what that error is complaining about is that the relationship you're trying to create from your tables has issue: One of the Month columns must have unique value of month. You can't have Many to Many relationship but only One to Many or Many to One relationship between them.
In your scenario, I would suggest you to create a new Month table(acts as a middle table) which only contains one column of unique value of month. And first relate your Calendar table to the Month table with the month column, then relate the Month table to Headcount, Separations table.:smileyhappy:
Regards
Hi Anonymous,
Basically what that error is complaining about is that the relationship you're trying to create from your tables has issue: One of the Month columns must have unique value of month. You can't have Many to Many relationship but only One to Many or Many to One relationship between them.
In your scenario, I would suggest you to create a new Month table(acts as a middle table) which only contains one column of unique value of month. And first relate your Calendar table to the Month table with the month column, then relate the Month table to Headcount, Separations table.:smileyhappy:
Regards