I have two sharepoint List.
List1 - This contains all users and has primary key as UserId List2 - This contains all courses and has primary key as CourseId
Now I want to define third list that would have its primary key as composite key. List3 - This contains users to courses mapping. So the primary key is (UserId, CourseId) combination.
When I define List3, I add columns from the List Settings page. When I create a new column, I can choose Lookup and choose the foreign key from another list. But I am unable to define a composite key. (where the keys come from different list).
Is there a way to define composite key for a list in sharepoint 2010?
Thanks