Results 1 to 2 of 2
  1. #1
    troachjr is offline Novice
    Windows XP Access 2010 32bit
    Join Date
    Dec 2012
    Posts
    1

    Junction Table

    I have a question about database design. Let me explain what I have so far. I need a database to work with multiple plants that have multiple systems at each plant with equipment in each system. Each system could and does have in many cases the same ID name. I created the junction table with index on System ID and Units ID to make the index unique. No 2 systems can have the same id number and same unit id number. What I have done so far is as follows:

    Plant Table
    Plant ID PK
    Plant Name, etc...

    System Table
    System ID PK autonumber
    Plant ID FK to Plant Table
    System Name, etc..

    Units Table
    Unit ID PK autonumber
    System ID FK
    Unit Name, etc...



    SystemUnits Junction Table
    SystemUnitsID PK autonumber
    System ID FK to System Table
    Unit ID FK to Units Table
    Zone ID

    The child tables will store data about each type of equipment, serial number, model, etc. The Child table will reference the System Units table and have its own index of the autonumber type. I then have information that is relevant to the child table, of which I could call the grandkids table, i.e., motor info, electrical source etc. Would it be proper to reference the child table index or better to reference the junction table?

  2. #2
    recyan's Avatar
    recyan is offline Expert
    Windows 2K Access 2000
    Join Date
    Dec 2011
    Posts
    662
    Till some one comes along,
    Are statements a---e, correct. If not pls correct them.
    a) Plants.
    b) One Plant can have One or Many Systems.
    c) One System can belong to One or Many Plants.
    d) One System can have One or Many Units.
    e) One Unit can belong to One or Many Systems.
    ...........
    ________________________________

    Each system could and does have in many cases the same ID name.

    1) Can you elaborate on above ?
    2) What is the relationship between Equipment and Unit?
    3) Elaborate on Child table and Grand-child table?
    If you can post a few dummy data showing the relationships between what you have mentioned, it should perhaps be easier ( perhaps like what are plants, what are systems, what are units,...).

    Note : It could perhaps be me only who is unable to get what you have explained, but your answers might enable others to help faster.

    Thanks

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

Similar Threads

  1. Junction Table ?
    By KCC47 in forum Access
    Replies: 1
    Last Post: 02-19-2013, 10:19 AM
  2. Junction Table
    By snowboarder234 in forum Access
    Replies: 11
    Last Post: 04-18-2012, 09:31 AM
  3. How to use Junction Table to populate DB
    By Sorbz62 in forum Forms
    Replies: 1
    Last Post: 10-02-2011, 05:45 PM
  4. Updating a Junction Table
    By oleBucky in forum Forms
    Replies: 4
    Last Post: 04-05-2011, 04:59 PM
  5. Junction Table
    By mae3n in forum Database Design
    Replies: 2
    Last Post: 01-15-2011, 10:23 PM

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