Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
cloudwar
Contributor II
Contributor II

Next 0 error

 

Hi,

I am getting the following error while running the for loop.

Please help me out

cloudwar_0-1641550551027.jpeg

 

3 Replies
anat
Master
Master

if possible can u share ur script....

cloudwar
Contributor II
Contributor II
Author

E2.JPG

marcus_sommer
MVP
MVP

nooftables() starts with 1 and returned a higher value as you could specify for tablename() because their index starts with 0. Therefore adjust your loop start to:

for vTableNo = 0 to nooftables() - 1

- Marcus