Qlik Community

QlikView Deployment

Discussion Board for collaboration related to QlikView Deployment.

Not applicable

Conditional save during Publisher reload

Hi all,
i've a simple and suppose common question, how can i condition the execution of the reload to a value of a field in a table?
Someone have some trick / idea ?

I tried to follow the below way, but the document is saved empty.



TABLAUNCH:
LOAD
Launch;
SQL SELECT Launch
FROM TabInvoice WHERE Launch = "YES";

if NoOfRows('TABLAUNCH')=0 then
exit script; //i don't want the Publisher save the document here because it would be empty
End if

// continue the reload
LOAD * INLINE [
F1
a
b
c
];

Community Browser