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: 
wboyd3
Contributor
Contributor

Qlikview Macros randomly stop

No sure if this the correct forum, but we are having an issue with a user where his macros run randomly - sometimes they work, sometime they do not.  What could cause an issue like this, could it be bandwidth, connectivity issues, etc.  this issue is driving us crazy.

 

Thanks,

Wayne Boyd

Humana  

1 Reply
marcus_sommer

There are a lot of reasons possible. At first make sure that really only a single macro could be run - means not triggering multiple ones through a button or similar within a chain of actions. If multiple routines/functions are needed the macro itself should call them to ensure that they run in the right order.

Further for all interactions with the UI or the OS you should set WaitForIdle and Sleep statements to ensure that Qlik has enough time to calculate the UI respectively the OS to perform the I/O actions.

If this is done and there are further issues you should implement an error-logging - in a more simple way it would be just some msgbox with err.number and err.description and/or your variable/selection-values and more extended to write all those things with a timestamp into a text-file.

- Marcus