Discussion Board for collaboration related to QlikView App Development.
in a listbox there are two values which can be selected individually. Also both values can be marked. In a multiselectbox the choice is limited only to a value. If the choice can be also limited in a listbox to a value in each case. In the example only the values should be able to be selected for ‘acc’ or ‘mon’ for the diagram.
Create a list box and instead of using value_type
create an expression like this
=IF(value_type = 'mon',value_type)
this will give you a list box with just that value
you can add this expression here
If you are having only 2 values in your list box and you want the list box to have only 1 value selected at a time then you can use "Always One selected" option.
Select one value in the list box, then go to the properties of list box and check "Always One Selected Value" checkbox.
This way only one value will be selected at a time in list box.
Hope this helps!
You can limit the value to be selected in a list box.
Right Click the list box and goto properties.
In the General Tab click the checkbox 'Always One Selected Value'.
Now you will be able to limit to one selection in a list box.
Attached the file for your reference.
Many thanks to Alan, Shyamal and archana.
One question to archana. If i add a new listbox, checkbox ' 'Always One Selected Value' can`t be selected '
can the field location be represented in a structure? So, HQ marks all fields below. CI pretends, Concord ' and, Karlsruhe ' and HQ should be not selected any more. If Concord is selected, CI is selected, if ‘Concord ' and, Karlsruhe ' is selected, then CI is selected.
Can the choice be indicated in the diagram or in an additional box?
Can you dish out the points 🙂
You need to create a list box first, make a selection and then the option will be there for you to choose "Always one Selected Value"
Apologies for the delay.
If you are creating a new list box you need to select a value and then the option 'Always One Selected Value' will be available for selection.
To achieve that you have to implement Hierarchy/HierarchyBelongsTo in the script and then tree view in the list box and then a tweak like a clever trigger.
But i would recommend to create a new thread to get more responses as this is a different requirement from the one you started with. And please close this thread if you have been answered for the first question.