How to Clear the Value of a Combobox
AnsweredI have a 5 level sub categorizations system. The multi-level selection is based on comboboxes. Ex: When you select an item in the first combobox, the second level gets, as valid values, only items that have the first selected level as a parent... and this is repeated on 5 leves.
All this validation is working good, but i need that, AFTER selecting, maybe the third level, if i go back and change the first level, i need that all following levels have the combobox cleared (in this case, the second and third level, that had already been selected, should go back to blank.
i already tried the following commands, with no success:
Bank()
Set(combobox |"")
ClearValidValues
any clue?
thanks in advance
-
Official comment
Hello Diogo,
It depends on the Combobox, in this example the Combobox empty has the value 0, I used a set command sending this value and it works for me.

-
My solution to clear it, is (for a combo-box named $[$BOYX_51.0.0])
Hide($[$BOYX_51.0.0]);
Blank($[$BOYX_51.0.0]);
Show($[$BOYX_51.0.0]);
Please sign in to leave a comment.
Comments
2 comments