Results 1 to 3 of 3
  1. #1
    jle0003 is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Apr 2012
    Posts
    60

    dependent combobox selections

    I have three comboboxes on a form. I would like for the value options in the third combobox to be dependent on the selections in the first two comboboxes. Comboboxes 1 and 2 will have set value lists, where combobox 3 will vary.



    For example:

    If I select "red" from combobox 1 and "fruit" from combobox 2, I would like the value options in combobox 3 to be "apple;strawberry;raspberry"
    If I select "green" from combobox 1 and "vegetable" from combobox 2, I would like the value options in combobox 3 to be "spinach;lettuce;green beans;cabbage"

    Could someone walk me through how to do this? Any help is greatly appreciated!

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,815
    Here is a tutorial on dependent comboboxes http://datapigtechnologies.com/flash...combobox2.html. Having a third combobox dependent on two comboboxes shouldn't be any more difficult.
    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.

  3. #3
    jle0003 is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Apr 2012
    Posts
    60
    Thank you! That is exactly what I needed.

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

Similar Threads

  1. Replies: 1
    Last Post: 09-06-2011, 01:47 PM
  2. Combobox-dependent show/hide controls
    By focosi in forum Forms
    Replies: 3
    Last Post: 07-31-2011, 06:47 AM
  3. Replies: 9
    Last Post: 05-23-2011, 06:12 PM
  4. Replies: 0
    Last Post: 08-24-2010, 06:38 PM
  5. Replies: 0
    Last Post: 12-16-2009, 01:14 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