Discussion Board for collaboration related to QlikView App Development.
hi community, i'm new in QlikView and i want some help from you please!
i want to generate a PDF report using pdf-Xchange the native tool of QlikView. i have tried to do it with success with many other tools like bullzip, pdf creator... But not with pdf-Xchange and that what is needed to be done.
what i have done until this words:
ActiveDocument.PrintDocReport "RP01", "PDF-XChange 3.0", false
i have a SaveAS PopUP, that i dont need !!!
help me please!
best regards !
i don't want the folder choice to be shown but the macro show it. i'm asking for the setting to stop this action and save automatically in a specific foder.
You have to set the properties of the printer: in this way you could set not to prompt for the save as window and the location/name of the pdf. I'm looking for an example to show that.
You could use a macro to set the destination folder and name (pdf generated file has a predefined name, so I've to change and move the file)
public Sub Print_PDF(sPDFPath_src, sPDFPath_dest, sPDFName_dest, sReportID)
ActiveDocument.PrintReport sReportID, "PDF-XChange 3.0", false
Set objFSO = CreateObject("Scripting.FileSystemObject")
'If the folder not exists then -> create
If Not objFSO.FolderExists(sPDFPath_dest) Then
Set newfolder = objFSO.CreateFolder(sPDFPath_dest)
PDFFullName = sPDFPath_dest & "\" & sPDFName_dest
'If the file exists then -> delete
If objFSO.FileExists(PDFFullName) then
objFSO.MoveFile sPDFPath_src, PDFFullName
Set objFSO = Nothing
I have only tried to generate PDF files with the help of another PDF generator. I am also testing about the related programs these days. I want to look for a fine PDF processor whose way of processing is simple and fast to help me with the related work. It will be better if it is totally manual and can be customized by users according to our own favors. Do you have any ideas about it? Or any good suggestion? Thanks in advance.