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

RB22 onPreviewFormCreate and onPreviewFormClose don't fire

Hi,

in D12, RB22, the events Report.onPreviewFormCreate and Report.onPreviewFormClose don't fire.

Not with the standard preview form, also not with a custom one.

Comments

  • Hi Heiko,

    In my testing with the latest version of RB, the OnPreviewFormCreate events are firing as expected.

    Are you loading templates? If so, you need to be sure to reconnect any events once the templates have been loaded or they can be lost.
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • Hi Niko,

    that was it. I wasn't aware that a template can overwrite events. Thank you!
Sign In or Register to comment.