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

Which Event Fires ?

edited February 2003 in Server
Which event fires immediately after the first page of a trsClientReport is
displayed in the viewer?

Thanks - Jon Gray

Comments

  • edited February 2003
    On the client or the server? I think you will be out of luck on the server.

    Ed Dressel
    Team DM
  • edited February 2003

    In the ClientReport.BeforePrint event try attaching an event-handler to the
    Device.OnPageReceive event

    I did not compile this, but this is basically how to structure it.....

    uses
    ppDevice;

    var
    lDevice: TppDevice;
    begin

    lDevice := myReport.Publisher.Device[0];

    lDevice.OnPageReceive := myOnPageReceiveHandler;

    end;


    procedure TForm1.myOnPageReceiveHandler(Sender: TObject; aPage: TObject)
    begin

    end;


    --
    Nard Moseley
    Digital Metaphors
    http://www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited February 2003
    Just what I needed. Thanks!



This discussion has been closed.