Results 1 to 4 of 4
  1. #1
    s.carter is offline Novice
    Windows 8 Access 2013
    Join Date
    Jun 2015
    Posts
    7

    Creating Multiple Dependant User Options

    Hi, I'm very new to access. I've created only one (pretty sweet) database. Now I'm working on my second. I have 5 tables. 4 have a list of info:
    Fruit - Apples, Tomatoes
    Color - Red, Yellow, Orange
    Action - Eat raw, make salad, toss
    Note - note1, note2, note3

    The fifth table has relationships with the first 4 tables:
    Apple | Red | Eat raw | note1
    Apple | Yellow | Eat raw | note2
    Tomato | Red| Eat raw | note2
    Tomato | Yellow | make salad | note3
    Tomato | Orange | toss | note1

    Next I created a form with a combo box to choose the fruit. I made this a unique value because I don't want the user to see 2 Apple choices and 3 Tomato choices.

    The user needs to select Apple or Tomato. If the user chooses Apple the form should present the options of Red or Yellow allowing the user to choose. On my form, it only shows Red (I guess because that's the first choice).

    How do I create a form that has a combo box to choose a fruit, then radio buttons listed with all the color options, then depending on what the user picks for these first two items will display the proper action and note?

    Thanks

  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
    The subject you are describing is called Cascading comboboxes.
    There are 2 excellent videos from Datapig to help with the concept.
    These were done in Access 2003, but the concepts are relevant to all versions.

    Your Note table should not have fields Note1, Note2. You should review normalization.
    What do the Notes refer to. You need some means to relate each Note to a specific topic.

    http://www.datapigtechnologies.com/f...combobox1.html
    http://www.datapigtechnologies.com/flashfiles/combobox2.html



  3. #3
    s.carter is offline Novice
    Windows 8 Access 2013
    Join Date
    Jun 2015
    Posts
    7
    Perfect. Thank you!

  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 are welcome.
    There are several free videos at Datapig.

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

Similar Threads

  1. Subreport Display Multiple Options
    By tmcrouse in forum Forms
    Replies: 1
    Last Post: 05-02-2014, 11:49 AM
  2. Multiple options for query criteria
    By graccess in forum Queries
    Replies: 2
    Last Post: 03-17-2014, 05:01 PM
  3. Replies: 3
    Last Post: 07-14-2013, 09:16 PM
  4. Single Form, Multiple Options
    By forrestapi in forum Forms
    Replies: 4
    Last Post: 06-30-2011, 07:09 AM
  5. Multiple filtering options in vba
    By eww in forum Programming
    Replies: 2
    Last Post: 09-28-2010, 01:46 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