How do I create a database that can link 2 items multiple ways?

  • Thread starter New intern in over my head.
  • Start date
N

New intern in over my head.

I want to create an Access Database that will allow me to link Supplier and
Products. This needs to be done so that each Supplier can be linked to
multiple Products and each Product can in turn be linked to multiple
suppliers. Is this possible in Access? I can't tell if this is too
complicated for an Access database or not. Does anyone know if this is
futile? Or have directions on how to do this? or a simple template I could
use?

Appreciated
 
A

Allen Browne

You have a many-to-many relation between Product and Supplier, so you need 3
tables:
Product table, with ProductID primary key;
Supplier table, with SupplierID primary key;
ProductSupplier table.

The 3rd table will have 2 fields:
ProductID relates to Product.ProductID
SupplierID relates to Supplier.SupplierID
The combination of the 2 will be the primary key.

--
Allen Browne - Microsoft MVP. Perth, Western Australia

Reply to group, rather than allenbrowne at mvps dot org.

"New intern in over my head." <New intern in over my
(e-mail address removed)> wrote in message
news:[email protected]...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top