Skip to main content
See why Qlik is a Leader in the 2024 Gartner® Magic Quadrant™ for Analytics & BI Platforms. Download Now
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Loop inline table


I have a script which sends by email a report to several users, I don't wnat to put the list of users hardcoded in the script. For that reason I've created an inline table with the users email.

The main problem is I don't how to loop through the inline table in the visual basic script code.

Can anyone give me some examples? Or does anyone know other way to avoid to put the user mail list in the code?


2 Replies
Partner - Specialist III
Partner - Specialist III


What I will look to do is store the inline table into QVD then drop the inline table. Meaning I can then loop through the table from QVD file.

You can then use

For i = 0 TO NoOfRows('TableName') -1

     Actions you want here

Next i

Hope this helps

Actaully you can Loop through your data island as well you don't have to store it as QVD.

Not applicable

Thanks for the answer, I'm going to try your suggestion.