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

Report Disappearing

edited October 2004 in General
What happens between these two procedures it gets tot he first nad never
gets to the second and it would appear that everything is in order.

procedure TdmInvoice.rptInvoiceBeforePrint(Sender: TObject);
begin
...
end;

it gets to that procedure then the following procedure never runs its
like it blows up between and doesnt report it.

procedure TdmInvoice.ppHeaderBand1BeforePrint(Sender: TObject);
begin
...
end;

how can i figure out why?

Thanks.

Comments

  • edited October 2004
    Hi Chris,

    Are you certain the header band is visible and attached to the rptInvoice
    report? If you place a ShowMessage inside another event of the header band
    or perhaps inside an event of one of the objects inside the header band,
    will it fire? My suggestion would be to simplify this application as much
    as possible by removing all other event code and making your application as
    straight forward as possible. This may give you a clue to what is
    happening. You may also want to create a small separate example using a new
    report and try to get the events to fire correctly.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

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