Results 1 to 2 of 2
  1. #1
    Jon_4 is offline Novice
    Windows 10 Office 365
    Join Date
    Apr 2020
    Posts
    1

    3 Table Relation

    Sorry if this question is very basic, but i'm new to access and can't seem to figure out what i should do to be able to accomplish what i need.


    I need to make 3 tables wich are related between them, one with Allergens, one with Ingredients and one with Dishes. One ingredient can have several allergens and one dish can have several ingredients.
    I've already done the table with de allergens, and the table with ingredients with a Allergens field where i can select the allergens (IngredientsAllergens).
    But what i can't do is have a table with the dishes, with the ingredients column and the allergens column, and be able to select the ingredients for a dish and populate automatically the field of allergens with the ones selected in the IngredientsAllergens table.

    I know my english is not great but i tried my best to explain.
    Thank you in advance.

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,644
    Don't have allergens field in Dishes. Just select ingredients. Then in a report build a query that joins tables so as to retrieve related allergens details.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

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

Similar Threads

  1. Relation between tables
    By ssayan79 in forum Access
    Replies: 2
    Last Post: 12-18-2018, 02:11 PM
  2. Replies: 2
    Last Post: 06-02-2018, 07:10 AM
  3. Create a relation between PK and FK.
    By GhettoBurger in forum Access
    Replies: 8
    Last Post: 08-20-2016, 06:23 AM
  4. Table relation
    By Nandu_7 in forum Access
    Replies: 14
    Last Post: 08-12-2016, 12:06 PM
  5. Replies: 9
    Last Post: 03-08-2016, 03:25 AM

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