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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

macro to fast for QlikviewPDF

Hello,

I have a problem with a macro that generates a PDF file.

I use a report with a extra selection that makes for every companystore a report-page.

If i don't use this selection, making one page report, there is no problem.

I use QV10 SR1. I hope someone can help me with this.

I use the following code:

sub ExportToPDF

ActiveDocument.Reload

ActiveDocument.GetApplication.WaitForIdle

Set vGisteren = ActiveDocument.Variables("vGisteren")

ActiveDocument.PrintReport "RP01", "PDF-XChange 3.0", false

ActiveDocument.GetApplication.Quit

end sub

TNX!



3 Replies
pover
Partner - Master
Partner - Master

How are you making the selection? Are you using the banding option in the report settings or the macro?

Regards.

suniljain
Master
Master

is the expression used in report item is complex ?.

Not applicable
Author

Yes thats the way I am doing that and yes there are a lot expressions in the report and more than one table/chart.

greetz, Halmar