Skip to main content
Announcements
Live today at 11 AM ET. Get your questions about Qlik Connect answered, or just listen in. SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
jsingh71
Partner - Specialist
Partner - Specialist

How I get value from one variable to another variable????

Hi All,

InputBox.png

Need your help !!!!!!!!!!!!!!!!!!!!!!

If I enter a name in 'Enter Name' Input Box and click on 'Save' button then name will display in 'Saved Names' Input box.

Again if I enter a second name and click on 'Save' button then both name will appear in 'Saved Names' Input Box. and so on How I got this??

qvw file attached....

2 Replies
Not applicable

Hi Amit,

You can achieve this using Actions(Set variable).

Use the below attached file for the same.

Not applicable

Hello Amit,

On setting the variable 'vSavedNames'  for saved names in trigger from SAVE button, you can use this :

= if(vEnterNames <> '' ,if(index((vSavedNames & ',' & vEnterNames),',',1) = 1,mid((vSavedNames & ',' & vEnterNames),2),(vSavedNames & ',' & vEnterNames)),'')

and then use this 'vSavedNames' variable in the input box in the Constraints--> Listed Values (Predefined Values area).

Attached along is the iota_Variable.qvw

Thanks,

Angad