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

Announcements
AWS Degraded - You may experience Community slowness, timeouts, or trouble accessing: LATEST HERE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Infinite Loop with a escape

I have an application that has an infinite loop that keeps changing screen and making selections, I can do something in the macro so that when I press the ESC or any other, exit the loop?

2 Replies
chematos
Specialist II
Specialist II

I think it would be better to fix the loop. Could you copy the loop to see it??

erichshiino
Partner - Master
Partner - Master

Hi,

Maybe it will not be possible because the macro might be using the processor.

If this is not the case, you could use a button in the interface to set a variable ( e.g. vStopLoop).

In the beggining of the loop you could check this variable to see if it should proceed or if QV should exit the macro

Please, tell us if it works

Regards,

Erich