Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello
to evrybody , I'm trying to execute this MACRO to print Report in PDF from Command Line OnPostReload.
1)If I reload the data inside QLIKVIEW , the macro is executed, If I run qlikview from command line
c:\Programmi\QlikView\qv.exe /r /NoSecurity "file.qvw"
(This is my only way to use qlikview in batch mode because /r
"Thereafter the document will be saved, and QlikView will
close itself...f"rom the manual)
2)The Macro doesn't work and the print process hangs
If I configure macro OnOpen , I have the same problem
Which is the best way to run this macro ( in attachement) from command line?
Thanks
Oronzo
Use OnPostReload just as before
Try using /l instead of /r, this will perform the reload but not save and exit, you could however do save and exit in your macro (although I imagine that might be a bit annoying when doing interactive reloads).
Thank you for your response,
but I don't know how save and exit inside the macro. Could you give me an example?
Thanks
ActiveDocument.Save
ActiveDocument.GetApplication.Quit
Thanks you Johan,
I must to know how to set the trigger condition
OnOpen?
If I set OnOpen the Macro hangs...
Thank you in advance
Oronzo
Use OnPostReload just as before
Thank you
Johan now it works !
Regards
Oronzo
Hello John,
i have tried the same
ActiveDocument.Save
ActiveDocument.GetApplication.Quit
in my macro script but this get disappear after every reload, i dont know y this is happening plz help
Regards,
Rajni
HI I have implemented the same sucessfully....