Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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!
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.
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!
I think you just need to test for qvd existence first, using e.g. filetime() function. Then execute your code based on that condition.