Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

Invoke reader after print to file

edited April 2005 in General
Hi,
I want to invoice the reader, let say Acrobat Reader , after the report had
been
print to PDF. Which event in the report builder should I put the code to?

Thanks

Vincent

Comments

  • edited April 2005
    Hi Vincent,

    If you are using RB 9.02, there is a property in the TppReport.PDFSettings
    named OpenPDFFile that when set to True, will open the created PDF file
    using your default viewer after it has been exported.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited April 2005
    Hi, Nico,
    I am using RB 7.04, is there any way to do it?

    Regards

    Vincent

  • edited April 2005
    Hi Vincent,

    This is either something that the third party export tool has already
    implemented or something that you will have to implement yourself. If you
    want to do this yourself, take a look at the Windows API function
    ShellExecute. This should allow you to accomplish what you need.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.