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

Rap Report BeforePrint and Afterprint events problem

edited January 2005 in RAP
hi,
version RB7.03 ent
i suppose there is a bug in the Rap events at report level

the ReportBeforePrint and ReportAfterPrint events are only called 1 time as
long as the report itself isn't destroyed
this has kept me occupied for about an hour or 2
so the first time a this report gets loaded all prints well, but the second
time the reports gets printed before it was destroyed those events aren't
called any longer...
any patch available?

tia,
marc

Comments

  • edited January 2005
    same with onstartFirstPass and OnEndFirstPass

    one thing to mention though and maybe relevant, i'm printing a fixed report
    so without a datapipeline

    i've moved the code to the detail band BeforePrint and AfterPrint and that
    works like expected...
    tia
    marc


  • edited January 2005

    The Report.BeforePrint and AfterPrint events work differently for RAP. This
    is necessary to support the preview from the Designer.


    --
    Nard Moseley
    Digital Metaphors Corporation
    www.digital-metaphors.com



    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited January 2005
    Nard,
    but shouldn't they be called every time the report prints??? with or without
    preview?
    i was relying on this event to fire
    i had to move all the code to a dummy detail band to get things going
    what is the purpose of beforeprint then?
    thx
    marc

This discussion has been closed.