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

RAP - GlobalOnCreate

edited May 2006 in General
Hello,

I use Delphi 2006 with update 2 and then Reportbuilder Enterprise 10.03
Patch 2.

Since I have installed RB 10.03 Patch 2, the globaloncreate-Event of the
report would not be called!

Any Idea?

Yours,
Michael Schustereder

Comments

  • edited May 2006

    If you are calling Report.PrintToDevices, then please add the following:

    if myReport.InitializeParameters then
    myReport.PrintToDevices;

    The GlobalOnCreate needs to fire prior to any other RAP events firing. To
    implement this, we had to move it to the Report.InitializeParameters method.
    This method is not called by PrintToDevices - which is correct, it cannot be
    called from there. Thus, you will need to add the call to your code. (We
    should have made a note in the release notes, but we did not realize it
    until after the release).





    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited May 2006

    Hello Nard,

    Thanks a lot. It works fine.

    Michael


    Nard Moseley (Digital Metaphors) schrieb:
This discussion has been closed.