Discussion Board for collaboration related to QlikView App Development.
Requirement: The list box object (with LED selection type) to always have ONE values selected.
Issue: I have tried enabling the setting for the list box object, which can be found in the properties -> general tab called "Always one selected value".
But every time I save the app and reload it on the qlikview server, the object properties gets reset. Is this a bug ?
I do not see any problem when I reload after setting the option to select one value. I am using SR6 on server and desktop. what version are you using?
Thanks for your post, I have the same issue, but not always... Sometimes, after a reload (even with local client), that setting is lost
I use QV 11 SR1
did you saw this one?
"Always One Selected Value" option is disabled in list boxes
Probably, its a bug in your version.
One possible reason - the selected value doesn't exist after loading new data.
I asked support to Qlikview for this issue, and I'm waiting for an answer.
Meanwhile, I found a workaround in order to have always just one value (for example for listbox for field MONTH).
In document properties > Triggers > Field Event Trigger add
1) OnSelect Action for MONTH: Select in field > MONTH with search string
if(GetSelectedCount(MONTH)<>1, month(max_data), MONTH) // or month(today()) instead of month(max_data)
2) OnChange Action for MONTH: as the above (Select in field > MONTH with search string
=if(GetSelectedCount(MONTH)<>1, month(max_data), MONTH) // or month(today()) instead of month(max_data) )
So when a user tries to select no value or more than one, the listbox will show a predefined value (today or max month in the data).
if it is still relevant, try to "Remove last document state" on access point.