Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Disable trigger when no record found in Qvd

Hi All, I am using Qlikview 64 bit Server SR 5 for generating Qvds, Analysis Files and sending mails.

I have my analysis files A1, A2 (with 'n' no. of reports) which are dependent on main Qvd Generator file Q1.
Tasks are defined for generating report based on analysis files A1,A2 and mail is send based on trigger defined in task.

The requirement is:

Task not to be triggered when there is no record in Qvd Q1(Qvd consists of multiple tables, if no record in any one of the table then task should not get triggered)

Please suggest how to fulfill the requirement.


Thanks in advance

1 Reply
Not applicable
Author

Something like this should work, hope help, Regards
corrado

TABLAUNCH:
LOAD * FROM Example.qvd (qvd);

if NoOfRows('TABLAUNCH')>0 then
execute "C:\Program Files\QlikView\Qv.exe" /R "C:\QvData\MyDoc.qvw";
End if