Skip to main content
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

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