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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
qlikviewforum
Creator II
Creator II

Is there is way to track the STORE function?

Hi All,

Is there is anyway to tab the STORE function? For example I want to check is there is any new QVD created in STORE function. If any new QVD is generated then I would like to call one sub routine and if not I will not be calling it. Please help!

3 Replies
swuehl
MVP
MVP

Sorry, I think I don't fully get what you are trying to achieve.

I don't think there is something like a trigger in the script where you can execute code when some other code / event has been executed.

But you can create a SUB that does two things, STORE a qvd and execute your additional code. Use this SUB in replacement for the existing STORE statements.

qlikviewforum
Creator II
Creator II
Author

Thankyou for you response.

Here is what we are trying to achive,

We have a SUB which has been called everytime. But we would like to call it only if there is any new QVD has been generated. If there is no QVD generated then we don't want to call the SUB. Please let me know if it not clear!

swuehl
MVP
MVP

I think you just need to test for qvd existence first, using e.g. filetime() function. Then execute your code based on that condition.