Results 1 to 4 of 4
  1. #1
    truejay001 is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    2

    Relationship linking for Laboratory procurement database, many-to-many relationship help


    First timer here. Table names are in parentheses.

    I am running procurement for multiple laboratories (Labs). Each lab has multiple contracts (Contracts) with multiple vendors (Vendors). Furthermore, each vendor can potentially have multiple contracts with the same lab.

    I have the following tables and their respective fields (* designates current primary key):

    Contracts
    - Contract Number*
    - Vendor Names [(multiple vendors in this field(i.e. Vendor1, Vendor2, Vendor3)]
    - Lab Names [multiple labs in this field (i.e. City1, City2, City3)]

    Labs
    - Lab Name*
    - Vendor Names [(multiple vendors in this field(i.e. Vendor1, Vendor2, Vendor3)]
    - Contract Numbers [multiple contracts in this field (i.e. Contract1, Contract2, Contract3)]

    Vendors
    - Vendor Name*
    - Contract Numbers [multiple contracts in this field (i.e. Contract1, Contract2, Contract3)]
    - Lab Names [multiple labs in this field (i.e. City1, City2, City3)]

    What is the best way to link the data I have? I would like to avoid having to reformat the fields/tables, however I want to maximize the future fidelity of the database. Specifically, what is the best way to set up the relationship links for maximal efficiency? Many-to-many relationships seem to be the way, but I don't know how to get that to work out for me.

    Any help is most greatly appreciated!

  2. #2
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,726
    Work through this tutorial to get some hands on experience with table design, normalization and relationships.
    You save a lot of frustration by learning these concepts.

    Good luck.

  3. #3
    truejay001 is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    2
    I read the document, but I did not find any foreign concepts nor did I find anything to specifically answer my question (unless I am conceptually missing something). Thank you for responding to my post however.

  4. #4
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,726
    You have to work through the tutorial. He starts with a business description (problem definition if you will).
    He then goes step by step into defining the things and their attributes. He goes through the process of normalization, and shows you how to identify the various components and why. He builds a normalized data structure with relationships that meets the business requirement. This is the blue print for the database.

    You really have to work through it. Doing a casual read, is not going to help you with table structure or relationships.

    This tells me you really need the tutorial.
    Many-to-many relationships seem to be the way, but I don't know how to get that to work out for me.
    Anyway, that's the best advice I have for you, and this.

    Good luck.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Confused with database relationship...
    By cysklement in forum Access
    Replies: 4
    Last Post: 11-21-2014, 08:00 AM
  2. Best Scheme for my third database relationship
    By Rizkidwip in forum Access
    Replies: 1
    Last Post: 04-29-2014, 12:11 AM
  3. Database Relationship Question
    By Leonidsg in forum Database Design
    Replies: 7
    Last Post: 03-22-2013, 11:00 PM
  4. Replies: 2
    Last Post: 09-07-2011, 06:00 AM
  5. Help in relationship for this Database
    By Nokia N93 in forum Database Design
    Replies: 1
    Last Post: 02-25-2011, 10:56 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums