unique comboboxes

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ben1988
    New Member
    • Aug 2016
    • 23

    unique comboboxes

    hi :)

    i have more than 10 comboboxes with same query source
    how can i control value selection
    so if any value selected in any combo, the user cant select this value in other combo

    (again i have more than 10 combo)

    thanks
  • Seth Schrock
    Recognized Expert Specialist
    • Dec 2010
    • 2965

    #2
    There are two ways to do this. You can either change the row source to filter out selections based on the other combo boxes, or you can do this in VBA and check in the Before_Update event of each combo box to see if the new value is selected in any of the other combo boxes and cancel the event it if is.

    Comment

    • zmbd
      Recognized Expert Moderator Expert
      • Mar 2012
      • 5501

      #3
      See if this article fits the bill:
      home > topics > microsoft access / vba > insights > cascading combo/list boxes

      Comment

      Working...