Qlik Community

Ask a Question

QlikView App Dev

Discussion Board for collaboration related to QlikView App Development.

Announcements
Join us for a live Q&A! September 21, 10 AM ET - Onboarding Fast in Qlik Sense SaaS! REGISTER
cancel
Showing results for 
Search instead for 
Did you mean: 
anushree1
Specialist II
Specialist II

Qlikview Reload Error

Hi,

Could anyone let me know if its possible to make a Qlikview Reload fail by using the error modes , i tried setting it to 2 .

But i still find the reload successful

11 Replies
sunny_talwar

Why don't you just add EXIT SCRIPT at the very start of your unwanted qvws?

gareth_wilson12
Partner
Partner

Something like this is a little cleaner, allows you to set/unset the variable to trigger the failure and allows a custom message which will be visible in the Log file.

Let vFailScript = 1;

IF $(vFailScript) = 1 THEN

Trace Custom Error Triggered;

SET [Error 1001 - My Custom Error is now Triggered];

END IF;

View solution in original post