Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

multiple scripts execution

Hi to everyone,

i have a QlikView document with two different scripts.

is there any way to execute only one of the two scripts? (using actions or macro)

Thanks in advance

Raffaele

1 Solution

Accepted Solutions
Gabriel
Partner - Specialist III
Partner - Specialist III

Hi,

What I will look to do is have a variable say vReload.

Then split the script into 2 part using IF statement.

LET vReload  = 0;

IF vReload  = 0 THEN

     do this

ELSE

     do another

ENDIF

This way you can load each section as you wish. Whatever value you pass at then beginning will determine the part to load.


View solution in original post

3 Replies
Gabriel
Partner - Specialist III
Partner - Specialist III

Hi,

What I will look to do is have a variable say vReload.

Then split the script into 2 part using IF statement.

LET vReload  = 0;

IF vReload  = 0 THEN

     do this

ELSE

     do another

ENDIF

This way you can load each section as you wish. Whatever value you pass at then beginning will determine the part to load.


Not applicable
Author

Thanks Gabriel,

Your workaround works!

Gabriel
Partner - Specialist III
Partner - Specialist III

Hi,

If the solutions works, I think it should be marked as Correct Answer so this question can be closed.