Is there a way to compare ALL items that a user has selected in a Combo box to ALL items listed in a Collection column (column's name is "Color" for this example)?
For example, there are 10 color options in a Combo box and the user selects "Red" and "Blue". I would like to go down the entire "Color" column and for ALL instances where "Red" or "Blue" occur in this column I want to enter the number "1" in another column within the Collection.
Right now I am using the UpdateIf in the OnChange property of the Combo box, but it only works on the first record it finds of either "Red" or "Blue" in the Collection's "Color" column. I cannot figure out a way to compare the other 50+ instances of "Red" and "Blue" remaining in the "Color" column.
Any suggestions on how best to do this?
Solved! Go to Solution.
Hi @AGS94
UpdateIf(testcoll,Color in ComboBox1.SelectedItems.Value,{Value:1})
Hi @AGS94
UpdateIf(testcoll,Color in ComboBox1.SelectedItems.Value,{Value:1})
That worked perfect - thanks!
User | Count |
---|---|
140 | |
132 | |
79 | |
74 | |
74 |
User | Count |
---|---|
209 | |
196 | |
70 | |
62 | |
55 |