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

Assigning data

edited October 2003 in General
Hello everyone,

I have a question about assigning data to a label. If I have two
reports and trying to using only one TppReport. The problem is that I
have code for one report assigning data to a label on the BeforePrint
event on the ppHeaderBand. The program crashes if I don't have a label
on the second record with the same name. I do allot of this assigning
data type of recording. Is there away around this?


Thanks..........Brian

Comments

  • edited October 2003
    Hi Brian,

    It looks as though when you load your second report, the event handlers from
    the first one are staying connected and when the event fires for a label
    that exists on the first report and not on the second, the program crashes.
    You will either need to disconnect this event handler once you load the
    second report or move all your event handlers to your templates using RAP.

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited October 2003
    Nico,

    Thanks for the help. Is there a demo or example on this RAP?

    Thanks..........Brian

  • edited October 2003
    Hi Brian,

    RAP (Report Application Pascal) comes with ReportBuilder Enterprise edition.
    You can try downloading a trial version of RB 7.03 Enterprise and run
    through some of the RAP turorials and demos to see if this is a good
    solution for your needs.

    --
    Best Regards,

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