You can add the following command to a batch file (obviously re-written for your own environment), we have lots of other stuff going on in batch files to update SQL Tables with start/end times but this is the part that calls the refresh:
emontant wrote: For the errors pop-pup, if I add errors in my script, the popup still appears too... <div></div>
Errormode=0 will prevent QlikView error messages from popping up. There's nothing you can do in QV about Windows error messages - e.g. ODBC connection failed (or at least, if there is, I've yet to figure them out).
Re. :Re: Re. :Re: Silent Batch Reload of qvw with logs
ERRORMODE=0 will stop any qlikview error messages from popping up during reload, this means that it will not give you a syntax error on a load statement for example, you should be aware though that (as it says above in this thread) it will not stop operating system errors and/or database connection errors.
I can't detail all of the messages that it won't show, and I can't detail all the messages it will show, but setting this value to zero certainly helped us to resolve QVW refreshes hanging during a silent reload.
I want to reload more than one qvw file with one .bat file, but I want the econt file to start reload after the first one has finished, because there are dependencies between them. Is there a way to do this.