First, I appreciate anyone even reading this, it is pretty long, but i wanted to get all the details that might matter. If its not enough, I will add whatever. Thanks in advance!
I have been trying for a few days with little success to program this database. (I am very new at this)
I have these basic tables:
Manufacturer(Manufacturer, ManID)
Vendor(Vendor, VendID)
Product(ProductType, ProdID)
with the **ID as the PK's
The Products are general, like 'valve', they are made by many manufacturers.
The Vendors sell Products from many Manufacturers.
The Manufacturers make many products.
I have also created tables (manually):
Manf-Prod(ManID, ProdID)
Manf-Vend(ManID, VendID)
I designed these so that the combo of both columns is the PK.(was this right?)
and this final table with a query:
Vend-Prod(VendID, ProdID)
I cant get this table to accept anything as a PK, and Im not sure if i even need one.
This is what i want; to know which vendors sell which product types. (Once the user knows which vendors sell what he's looking for, he can call them up and get what he wants.) However, I can't figure out why this final table repeats its values many times, for instance, say one vendor sells valves from 10 different companies. This doesnt matter, and I dont want it to show up 10 times on my table.
Is there a certain type of join or query or method of producing relationships that i should be using somewhere that I am missing? (I was told to look at help files about totals queries, but this seemed pretty irrelevant)
Thanks to all,
Mark
I have been trying for a few days with little success to program this database. (I am very new at this)
I have these basic tables:
Manufacturer(Manufacturer, ManID)
Vendor(Vendor, VendID)
Product(ProductType, ProdID)
with the **ID as the PK's
The Products are general, like 'valve', they are made by many manufacturers.
The Vendors sell Products from many Manufacturers.
The Manufacturers make many products.
I have also created tables (manually):
Manf-Prod(ManID, ProdID)
Manf-Vend(ManID, VendID)
I designed these so that the combo of both columns is the PK.(was this right?)
and this final table with a query:
Vend-Prod(VendID, ProdID)
I cant get this table to accept anything as a PK, and Im not sure if i even need one.
This is what i want; to know which vendors sell which product types. (Once the user knows which vendors sell what he's looking for, he can call them up and get what he wants.) However, I can't figure out why this final table repeats its values many times, for instance, say one vendor sells valves from 10 different companies. This doesnt matter, and I dont want it to show up 10 times on my table.
Is there a certain type of join or query or method of producing relationships that i should be using somewhere that I am missing? (I was told to look at help files about totals queries, but this seemed pretty irrelevant)
Thanks to all,
Mark