Discussion Board for collaboration on QlikView Scripting.
Can you let us know if it is possible in QlikView to loop through particular values in for loop in the script.
Eg: I want to write condition like this
//Basically a, b, c are discrete values
for i= a to c;
Go to Solution.
You can do this:
For Each zVar in ('a', 'b', 'c')
Let $(zVar) = 0;
Hope that helps
I'm not totally sure of how you wish to use this but you could use;
For each driver in a, b, c
Where driver is used in your script. So if you wanted to load one at a time for example, the script would be;
From [File} where $(driver);
I hope this helps, let me know how you get on.
Many Thanks Jonathan and Steve.
Answered exactly what I'm looking for.
I didn't know that for each loop exists in QlikView.