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

OnGetFileSuffix event

edited June 2012 in General
Hi.

I'm implementing functionality for generating a separate PDF file to be sent
by email as an attachment.
My current solution uses templates loaded from a database.
I have two requirements:
1. All the files should have a unique name - this could be solved like
suggested in the rbWiki article by using the OnGetFileSuffix event:
http://www.digital-metaphors.com:8080/Output/PDF/How_To...Separate_File_for_Each_Group
2. In order to assign the email address I will need to use the
OnGetEmailSettings.

Will these events fire for every other report (template) that I have in my
database?
If so will this be a problem?

Petter
D2010, RB 12

Comments

  • edited June 2012
    Hi Petter,

    The OnGetFileSuffix event will only fire if the Group.NewFile property
    is set to True.

    Likewise the OnGetEmailSettings event will only fire if the
    Group.EmailFile property is set to True.

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited June 2012
    Great.

    Petter

    "Nico Cizik (Digital Metaphors)" skrev i nyhetsmeldingen: 4fd8838a$1@mail.
    ...

    Hi Petter,

    The OnGetFileSuffix event will only fire if the Group.NewFile property
    is set to True.

    Likewise the OnGetEmailSettings event will only fire if the
    Group.EmailFile property is set to True.

This discussion has been closed.