As some background I am using VBS to print reports. Essentially I use the following code:
I am getting an intermittent error but once it starts I have to kill my script. It happens when printing.
Set qvApp = CreateObject("QlikTech.QlikView") Set qvDoc = qvApp.OpenDoc(qvDocPath) qvDoc.PrintDocReport oReport, "PDFill", false
Not sure what I'm doing wrong but it works for a while before I get the error?? I may need to run up to 100 reports within the same Qlikview document, looping through fields such as Sales Reps etc