Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Include statement looping

Hi All,

I have just saved my qlikview scripts as .qvs files and am using the include statement to call them from Qlikview. The scripts when run normally without .qvs work as expected. However, when I reload the scripts using the include function (and comment all the other script out) the scripts keep looping through all my include statements. Does anyone know why this would be?

Example script:

$(Include=........\Script_1.qvs);

$(Include=........\Script_2.qvs);

$(Include=........\Script_3.qvs);

$(Include=........\Script_4.qvs);

$(Include=........\Script_5.qvs);

1 Solution

Accepted Solutions
stigchel
Partner - Master
Partner - Master

Does your Script_1.qvs have the

$(Include=........\Script_1.qvs);

code in it?

If so remove it or comment out this line from the .qvs file.

View solution in original post

4 Replies
sunny_talwar

Looping through them? It never stops running is the issue?

Anonymous
Not applicable
Author

Hi Sunny,

yes, it does not stop running

stigchel
Partner - Master
Partner - Master

Does your Script_1.qvs have the

$(Include=........\Script_1.qvs);

code in it?

If so remove it or comment out this line from the .qvs file.

Anonymous
Not applicable
Author

Yes i duplicating the script in the qvs files. All sorted now thanks.