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

Announcements
ALERT: QlikView server communication interruptions following Microsoft Windows Domain Controller security updates
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

WaitForIdle and sleep

Please let me know the difference between following two statements -

ActiveDocument.GetApplication.WaitForIdle


ActiveDocument.GetApplication.Sleep 2000

Labels (1)
1 Reply
biester
Specialist
Specialist

Well, "Sleep" waits until the specified amount of time has elapsed, "WaitForIdle" waits until idle state has been reached - if that never happens due to whatsoever reason, macro execution waits forever unless you have specified a timeout.

Rgds,
Joachim