Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Is there a way to force a selection always to be made (and ideally allow only 1 selection)?
When I save the docuemnt I can defult a selection, and want to allow the user to select a different option to view, but I do not want the user to be able to remove the selection, and ideally not to select multiple options. Somthing like radio buttons, check buttons or a combo box would work, but I can not find these in Qlikview.
Hi
On a list box, go to the properties and the presentation tab, in here change the selection style override to Windows Checkboxes or Corner Led.
On the General tab, you have the option for Always One Selected which, when checked means that one and only one must be selected and the user cannot deselect it.
HOWEVER........ a quick warning for you, I am making use of this now and when my documents get deployed to the server all the data is removed and it is refreshed on the server (an internal policy of my company), when this happens the Always one selected value is removed....
So, that's how you do it, and a warning that it might not work in your environment either.
Regards,
Nigel.
I'm a little confused as to exactly what you're looking to do, but it seems possible.
Are you talking about a field in your data set? So if you have a field, Field1, you want a particular value to always be selected? This can be done using a macro: ActiveDocument.Fields("Field1").Select 'Value'
There is also an option to make sure one value is always selected for a field (Always One Selected Value checkbox in Properties).
QlikView does not have some basic forms items, but that doesn't mean you can simulate them. I've created radio buttons and check boxes within
QlikView applications. One way is to create buttons that switch the value of a variable from one value to another.
Now the real question is which of these is going to suit your needs? Can you post a sample or give some more details (with specific references to field names and possible values)?
If the property "always one selected value" is unstable, you can set it in the same macro which you run OnOpen.
Hi All
Michael's suggestion is reasonable, however, this is exactly what I am doing and it fails.
This is registered with QlikTech and confirmed as a bug with reference number #21287
Regards,
Nigel.