Hi all,
I’m stumped as to why I can’t create a relationship between 2 tables which have multiple-field primary keys.
Let’s say I have 2 tables with the following fields:
tblOne:
FieldA
FieldB
FieldC
tblTwo:
FieldA
FieldB
In tblOne, all 3 of its fields comprise the primary key and in tblTwo, all 2 of its fields comprise the primary key.
Now I want to set up the following relationship:
tblTwo.FieldA tblOne.FieldA
tblTwo.FieldB tblOne.FieldB
I can’t do it! Keep getting the error message “No unique index found for referenced field of primary table”. I did look at the Microsoft KB article: http://support.microsoft.com/default.aspx?…b;EN-US;q155514. Came close to getting the answer, but no cigar. Also, in their example, both tables had 2-field primary keys. In my case, one table has a 3-field PK and the other one has a 2-field PK.
What am I doing wrong?
Thanks,
Stephan