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

change order of attachments when emailing grouped report-pdf's

edited May 2017 in General
Hi

I am adding some attachments to emailsettings in the OnGetEmailSettings
event of the primary report group.
The report-pdf will be attached as the last attachment.

Is there anyway I can change this so the report-pdf is the first
attachment ?

Best regards
René SSV

Comments

  • edited May 2017
    Hi Rene,

    Unfortunately there is currently no way to alter the order in which the
    report is added to the attachment list. I will add this to our list of
    possible enhancements for a later release.

    Currently, you can see where the report is added to the attachment list
    inside the TppFileDevice.SendEmail routine of the ppFilDev.pas file.
    (line 1517). This could possibly be changed to use the Insert routine
    rather than Add to temporarily accomplish what you need.

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited May 2017
    Den 23-05-2017 kl. 21:59 skrev Nico Cizik (Digital Metaphors):

    Thank you very much for this advice !

    René, SSV
This discussion has been closed.