Results 1 to 3 of 3
  1. #1
    Gregm66 is offline Advanced Beginner
    Windows 10 Access 2013 32bit
    Join Date
    Sep 2016
    Posts
    36

    Help with Relationships

    Hi All,

    I have a form that has 2 comboboxes on it, Combo8 and Combo9.

    Combo8 is populated from a table called tblType, based on my selection in combo8, combo9 is the populated from a table called tblRecipes. filtered, so if I choose desert then only the recipes from the category desert are displayed in Combo9.

    What I am trying to do is have Combo8 look at other tables also for recipes in different category's.

    so if I select Soups in Combo8 then Combo9 populates from a table called tblSoups.



    I created a relationship between tblType and tblSoups but it doesn't seem to want to return any values from this table.

    Any help on what I am doing wrong would be appreciated.

  2. #2
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 8 Access 2013
    Join Date
    Aug 2013
    Posts
    7,862
    Relationships are defined by adding a column to a table that acts as a Foreign Key. Perhaps your description in post #1 is based on an analogy. Are you really building a solution to keep track of recipes? If so, I do not understand the need for a tblSoups. Instead, I would have a table for Categories or something similar. In this table you could define different catagories of recipes, Soups, Deserts, Entrees, SideDishes, etc. Depending on the purpose and scope, you may have subcategories, too.

  3. #3
    Gregm66 is offline Advanced Beginner
    Windows 10 Access 2013 32bit
    Join Date
    Sep 2016
    Posts
    36
    Thankyou for your reply ItsMe
    I wanted individual tables for each category so as to not slow searching down.
    But I think I've solved it now I ran the analyze performance and it created what I needed thankyou again for your reply much y appreciated.

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

Similar Threads

  1. Replies: 7
    Last Post: 08-05-2016, 11:53 AM
  2. Replies: 2
    Last Post: 07-27-2016, 10:25 AM
  3. Need Help With Relationships
    By Gary Childress in forum Database Design
    Replies: 3
    Last Post: 01-31-2015, 04:02 PM
  4. Explicit Relationships and Implicit Relationships
    By Dazza666 in forum Database Design
    Replies: 2
    Last Post: 07-17-2013, 02:11 AM
  5. Relationships - 1-1 or ???
    By RobFlag in forum Access
    Replies: 3
    Last Post: 03-21-2013, 02:36 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