Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Andrius45
Contributor III
Contributor III

OnPostReload + Certain Time

Hey guys,

So i have a QlikView Document which is supposed to Export&Send few tables just after it gets reloaded. My problem is that it reloads three times per day and I need to send report just on mornings.

How can I achieve it ?

P.S. I had an idea where I would:
1. Create a variable which would change according to time of day(function now()) (on mornings  it would be  1, and later during the day  0)

2. OnPostReload would trigger a Macro which would check if my variable is 1 and if it is. then it would run  main Macro (Export&Send)

1 Solution

Accepted Solutions
tamilarasu
Champion
Champion

Hello Andrius,

Your idea sounds good. I just implement the same in below attached file. Everyday the first reload will trigger the macro. You can test this app by changing the systme date in your desktop.

Capture.PNG

View solution in original post

3 Replies
tamilarasu
Champion
Champion

Hello Andrius,

Your idea sounds good. I just implement the same in below attached file. Everyday the first reload will trigger the macro. You can test this app by changing the systme date in your desktop.

Capture.PNG

Andrius45
Contributor III
Contributor III
Author

Thanks again Tamil, will definitely try that

tamilarasu
Champion
Champion

Not a problem Andrius. kindly let me know If any issues. Have a great week!