AccessHawaii
MIS
I'm creating a database that's a little different in the fact that I can't define one single field as a primary key, I have to assign several.
I have 3 tables, 1 is used as a primary table and has a primary key set to to fields (Field1 and Field2), Another one is also used as a primary table and has a primary key set to (Field3 and Field4), and my third table is the relational table, which is linked to the other 2 tables and has primary fields for the combination of (Field1,Field2,Field3, and Field4).
The problem is when I try to build a query off this relationship, I'm returning more records than I actually have. It's duplicating some records and leaving some out all together.
What I want to do is return all the records from the relational table and show elements from the primary table. Does anyone know how to do this?
I have 3 tables, 1 is used as a primary table and has a primary key set to to fields (Field1 and Field2), Another one is also used as a primary table and has a primary key set to (Field3 and Field4), and my third table is the relational table, which is linked to the other 2 tables and has primary fields for the combination of (Field1,Field2,Field3, and Field4).
The problem is when I try to build a query off this relationship, I'm returning more records than I actually have. It's duplicating some records and leaving some out all together.
What I want to do is return all the records from the relational table and show elements from the primary table. Does anyone know how to do this?