Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
ALERT: QlikView server communication interruptions following Microsoft Windows Domain Controller security updates
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Clear list box with a condition

Hi ,

Is it possible to clear a list box say for example a variable vClearField is 0

the whole scenario is like this

i have 3 list boxes %Chart,%Dim,%Exprssn

Now i want %Dim and %Exprssn to be Cleared once count(GetFieldSelections(%Chart)=0

i.e nothing selected

thanx in advance 

Labels (1)
1 Solution

Accepted Solutions
tresB
Champion III
Champion III

You can try Variable Event Trigger->OnChange

vClearField=GetSelectedCount(%Chart)

Check attached sample too.

View solution in original post

3 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Add a Clear Field action to the variable trigger. You can find the triggers on the Triggers tab of the Document Properties window.


talk is cheap, supply exceeds demand
tresB
Champion III
Champion III

You can try Variable Event Trigger->OnChange

vClearField=GetSelectedCount(%Chart)

Check attached sample too.

Anonymous
Not applicable
Author

Thanx that's exactly what i wanted