Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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
Create a macro like
SUB Sleep
APPLICATION.SLEEP(500)
END SUB
and call it after postreload and change of variable
Peter
Sure:
1)save current time
2) while current time < saved time + 500ms , do nothing
there is a function called Sleep(5000)
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.
Hi,
Sleep 5000
Do you wish to continuously toggle betw 0 and 1?
Or should this be done only once?
Peter
Twice actually
Where do I wirte the expression?
On script it does not work because it will wait before the reload has finished.
Create a macro like
SUB Sleep
APPLICATION.SLEEP(500)
END SUB
and call it after postreload and change of variable
Peter
Hi,
Use Sleep function here that is the correct function.
Regards
Anand