Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
cancel
Showing results for 
Search instead for 
Did you mean: 
charles1981
Contributor II
Contributor II

How to get associate field value into a variable of selection field from the listbox ?

Hi,

Anyone help me to achieve this please? I have one table like below:

ParentChild
CarABC
CarDDS
Truckwest
TruckOuija

 

from this I loaded Child field into a List box for selection.  so When I select any child from the list box, I want to assign the associated parent value into a variable. for example, if I select a child "DDS" then I want that parent value "Car" into a variable or if selected "Ouija" then "Truck" into a variable.

1 Solution

Accepted Solutions
sunny_talwar

Have you looked into Field Event Triggers?? Triggers

View solution in original post

3 Replies
sunny_talwar

Have you looked into Field Event Triggers?? Triggers

charles1981
Contributor II
Contributor II
Author

Hi Sunny T,

Thanks for your suggestions.

I tried using triggers as you suggested but I couldn't able to achieve my requirement.

I have attached the .qvw files. could you please check and guide me where I did wrong?

I want the parent of selected child to be assigned to the variable varModelParent.

 

charles1981
Contributor II
Contributor II
Author

Done using Field event Triggers as suggested by Sunnt T. Thank you so much.