Qlik Community

New to QlikView

Discussion board where members can get started with QlikView.

Announcements

Breathe easy -- you now have more time to plan your next steps with Qlik!
QlikView 11.2 Extended Support is now valid through December 31, 2020. Click here for more information.

jsingh71
Not applicable

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

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

Hi Amit,

You can achieve this using Actions(Set variable).

Use the below attached file for the same.

Not applicable

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

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