Report Disappearing
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.
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.
This discussion has been closed.
Comments
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
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com