I have a table that stores details of activities undertaken by students over a year (Maximum of 3 per year)
I have made a composite key that comprises of
studentID
ActivityID
Term
Year
This is fine, but it allows for errors e.g. a student can be entered for two different activities in the same term for the same year as this is not recorded as a duplicate. Any ideas how I can solve this? I have a feeling that it should be easy but I think I have been looking at it for too long!
Many thanks
Cath
I have made a composite key that comprises of
studentID
ActivityID
Term
Year
This is fine, but it allows for errors e.g. a student can be entered for two different activities in the same term for the same year as this is not recorded as a duplicate. Any ideas how I can solve this? I have a feeling that it should be easy but I think I have been looking at it for too long!
Many thanks
Cath