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

RE: Group Break Emails

edited November 2016 in Devices
Sorry if I'm muddling up the post thread with this. I haven't used a
message board before.


To test this I set the OnGetEmailSettings event of the group to:
"Report.EmailSettings.subject :='Test'" The subject of the resulting email
was "Test ['Grouped by field value']" it appears that the subject is still
being appended to somewhere after I set it in the OnGetEmailSettings event.

Any other thoughts would be greatly appreciated.

Comments

  • edited November 2016
    Hi Thomas,

    Be sure to reply to the last message in the thread when responding.
    Currently you are creating new threads for each response.

    Please take a look at the help topic in the ReportBuidler Reference
    which is installed with the product. Access it through the Delphi help
    system.

    The RBWiki site is located at the following web address:
    http://www.digital-metaphors.com/rbwiki/

    Each group uses an internal EmailSettings object to send the email. You
    need to alter the EmailSettings parameter of the event in order to alter
    the subject. This is described in the help article.

    uses
    ppEmailSettings;


    procedure TForm1.ppGroup1GetEmailSettings(Sender, aEmailSettings: TObject);
    begin
    TppEmailSettings(aEmailSettings).Subject := 'My Subject';

    end;

    Best Regards,

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