Results 1 to 11 of 11
  1. #1
    African is offline Novice
    Windows XP Access 2007
    Join Date
    Jun 2013
    Posts
    6

    Many-to-Many Relationships

    I am in the process of designing a database which would allow for easy collection and storage of publications by various Authors. One of the requirements is that they would like to be able to email the form, have the users complete the form and send back, Access allows the option to email the form so that the user can complete. I created a table with all the required fields to use for the form. I emailed one of the form to myself for testing, I completed it and sent it back, it said the data was successfully added to the database, but when I checked the database, no information was added.



    Another one on my approaches was to create separate tables to handle the different categories, since an individual could be in more than one category, then generate a query which would capture all the information. I need to know how to handle the many-to-many-relationship so that I can effectively capture everyone information. I am working with 8 tables.

  2. #2
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2013
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    m:m relationships are usually controlled with a junction table that YOU maintain. It has the PrimaryKey from both tables in a record. Typically you would deal with each side one at a time.

  3. #3
    African is offline Novice
    Windows XP Access 2007
    Join Date
    Jun 2013
    Posts
    6
    I do have an associate table created as well and I tried creating a query which would display all the results from the various tables but only 1 record is displaying. I am not sure what I am missing.

  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,848
    It might be helpul i you were to post a jpg o your tables and relationships.

    or info on Many to Many, here is a youtube video

    https://www.youtube.com/watch?v=7XstSSyG8fw

  5. #5
    African is offline Novice
    Windows XP Access 2007
    Join Date
    Jun 2013
    Posts
    6
    I have attached a pdf of the relationships. I have also watched various video with the many-to-many relationships, but they only deal with 2 tables.



    Relationship schematic.pdf

  6. #6
    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,848
    And what exactly does this pd represent?
    What are the subjects involved? and how do they relate?

    This tutorial may help you get the info organized.
    http://www.rogersaccesslibrary.com/T...lationship.zip

  7. #7
    African is offline Novice
    Windows XP Access 2007
    Join Date
    Jun 2013
    Posts
    6
    I am not sure that I understand the question, but I will do my best to explain. We have a number of Researchers who may either write a book, book review, chapter, occasional paper, journal etc. A Researcher may fit into one or all of the categories mentioned. The idea is to capture all of the work done by the researcher. I created a table for the Author and tables for the different categories, then placed the different primary keys into the Associate table, which is what I thought the pdf. showed.

    the videos that I saw included the primary key from the different tables into one Associate table, which is what I did. I guess I am going about it all wrong. I am now sure how I could attach the mdb. format

  8. #8
    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,848
    This tutorial
    http://www.rogersaccesslibrary.com/T...lationship.zip
    is a pdf. It has a sample with narrative and some diagrams, and walks you through a process leading to table design and relationships. The finalized data model/solution is given along with all intermediate steps.

  9. #9
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2013
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Quote Originally Posted by African View Post
    I am now sure how I could attach the mdb. format
    First Compact and Repair the db. Then Zip it up. then when you post, go to advanced and scroll down to Manage Attachments.

  10. #10
    African is offline Novice
    Windows XP Access 2007
    Join Date
    Jun 2013
    Posts
    6

    Many-to-Many Relationship

    Since reading your article Entity Relationship I have made changes to the tables, I have attached the tables along with the document outlining the different categories.

    Thanks

    African
    Attached Files Attached Files

  11. #11
    African is offline Novice
    Windows XP Access 2007
    Join Date
    Jun 2013
    Posts
    6
    I am still trying to fully sort out the various many-to-many relationships, any assistance would be greatly appreciated.

    African

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

Similar Threads

  1. Relationships
    By hithere in forum Database Design
    Replies: 1
    Last Post: 04-03-2012, 11:03 PM
  2. Relationships
    By neo651 in forum Database Design
    Replies: 2
    Last Post: 08-30-2011, 08:38 AM
  3. Relationships
    By IT_GIRL in forum Access
    Replies: 3
    Last Post: 06-27-2011, 02:27 PM
  4. Relationships I think
    By darlaj5 in forum Access
    Replies: 2
    Last Post: 05-04-2011, 08:37 PM
  5. Relationships
    By bopsgtir in forum Database Design
    Replies: 1
    Last Post: 01-10-2011, 12:44 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