Thanks Plog & Jdaw for your reply and feedback, appreciate your help with my question.
I started doubting on when to use a junction table with a distinct primary key and when to use one with composite keys. I got confused about this and thought that only one of both options would be correct instead of both being possible in Access.
Do would like to ask your furhter advice though if you allow:
In my example I have this junction table based on following three tables:
tblSupplier
PK SupplierPK(autonumber)
SupplierName (tekst)
City (tekst)
CountryFK (number)
tblProducts
PK ProductPK (autonumber)
ProductName (tekst)
tblBrands
PK BrandPK (autonumber)
BrandName (tekst)
Junction table:
tblSupplierProducts
PK SupplierFK (number)
PK ProductFK (number)
PK BrandFK (number)
The database holds the data of suppliers and the products they are offering, some products have a brandname. Though not every product Always has a brand!
For instance:
supplier Fuji sells winter clothing withoug brand
supplier Sinwa sells winter clothing (without brand) but also winter clothing of brand The North Face.
supplier RMS sells pyrotechnics
supplier Fuji sells pyrotechnics brand Viking.
In my junction table? How do I enter a supplier and product that doesn't have a brand? To avoid duplicates, records are unique and I have to enter a value in brand...? I could enter a ' - ' in brand for any supplier product that doesn't have a brand but that's not the correct approach.
Would appreciate your input.
Thanks.