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

Announcements
Only at Qlik Connect! Guest keynote Jesse Cole shares his secrets for daring to be different. Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Set Old Data when Reload failed

Good Morning,

Is possible to set old data when Reload script failed?

I reload the Reports by Qlik Management Console and Set in the Reports Script 'Set ErrorMode=0'.

So, when a Script failed the report is updated but is empty while i should use the old data before the reolad.

Many Thanks and Best Regards.

4 Replies
Not applicable
Author

hi,

You can do this by using Exit Script

ex if errormode=0 then

ExitScript;

thanks

Vivek

Not applicable
Author

Many thanks for your help.

I tried like this:

Set ErrorMode=0;

Select FIELD1  from TableNameWorng;

if errormode=0 or ScriptErrorcount >0 then

ExitScript;

end if

but the result after the reloading is empty again 😞

flipside
Partner - Specialist II
Partner - Specialist II

Try STOREing the current data to QVDs and if there's an error reload them back in.

flipside

Not applicable
Author

It's a good idea! many thanks!!

I have many report to converted and I hoped that there was a simple setting to write in the script.but I think your solution is the only possibility.

Many thanks and Best Regards