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

report with two pages each with own background image

edited April 2014 in General
Hello,

I need a report where the data has to be printed on two pages and both
pages should have a different background image.

Is this possible ?

Thanks
Andreas

Comments

  • edited April 2014
    Hi Andreas,

    I would suggest placing the images inside a page layer and simply toggle
    their visibility based on which page you are printing (perhaps using the
    OnStartPage event.

    If you would like to keep things even cleaner, use two page layers and
    toggle their visibility.

    procedure TForm1.ppReport1StartPage(Sender: TObject);
    begin
    ppImage1.Visible := (ppReport1.AbsolutePageNo = 1);
    ppImage2.Visible := (ppReport1.AbsolutePageNo = 2);
    end;

    Best Regards,

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