Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Wait after reload

Hello,

I would like to know if there is any time expression that I can use to make Qlikview wait for 500 milliseconds after it reloads data.

Thank you.

Best regards.

Ivo Marques

1 Solution

Accepted Solutions
prieper
Master II
Master II

Create a macro like

SUB Sleep

  APPLICATION.SLEEP(500)

END SUB

and call it after postreload and change of variable

Peter

View solution in original post

11 Replies
luciancotea
Specialist
Specialist

Sure:

1)save current time

2) while current time < saved time + 500ms , do nothing

Anonymous
Not applicable
Author

there is a function called Sleep(5000)

Not applicable
Author

Hello Guys,

Thank you for the answers.

I will explain my problem: after reload I want to set a variable with the value '0', wait 500ms, set the variable again with '1' and wait another 500ms.

I ca easily set the variable by adding a trigger/action on post reload, but I don't know if there is a way to wait the 500 ms with between variable sets.

Gabriel
Partner - Specialist III
Partner - Specialist III

Hi,

Sleep 5000

prieper
Master II
Master II

Do you wish to continuously toggle betw 0 and 1?

Or should this be done only once?

Peter

Not applicable
Author

Twice actually

Not applicable
Author

Where do I wirte the expression?

On script it does not work because it will wait before the reload has finished.

prieper
Master II
Master II

Create a macro like

SUB Sleep

  APPLICATION.SLEEP(500)

END SUB

and call it after postreload and change of variable

Peter

its_anandrjs

Hi,

Use Sleep function here that is the correct function.

Regards

Anand