 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Agostino Guest
|
Posted: Thu Sep 11, 2003 6:51 pm Post subject: when a report has been completely generate? |
|
|
I've added some code in the events AfterPrint of the detail band in order
to export the data that are printed (don't like the way the built-in
components for exporting work).
Then I call preview method but I don't know when it's finished!
Not in the AfterPreview event that occours when the user closes the preview
windows.
I don't know when the report has finished to process the AfterPrint events!
Thanks for your help
|
|
| Back to top |
|
 |
Timo Guest
|
Posted: Fri Sep 12, 2003 7:29 am Post subject: Re: when a report has been completely generate? |
|
|
Hi,
| Quote: | ...
Then I call preview method but I don't know when it's finished!
Not in the AfterPreview event that occours when the user closes
the preview windows.
I don't know when the report has finished to process the
AfterPrint events!
|
you could set a flag in the report's summary band's AfterPrint event (add
an empty summary band if your report doesn't have one) and then check for
that flag in the OnEndPage event. If the summary band has been printed and
the page is at its end (i.e. page footers have also been printed), the
report is finished.
Not a very nice solution, but it should work.
Regard, Timo
--
Timo.Hartmann at http://www.thsd.de
Home of QR PowerPack and QRDesign (QuickReport end user report editor)
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|