On 17 Jul 00, at 15:59, James Sugrue wrote:
> Is there any way to do a Sub Report in Quick Reports ?
> I can get the data I want if I put it in a Sub-Detail band, but it
> prints the data after each record of the Detail band which is not what
> I want. I want to show the Sub Detail band after all the records in
> the Detail band have been printed.
I've done this sort of thing before with a TQRCompositeReport, but
(at least with the QR version that ships with d4) that component is
underdocumented and buggy. I recall a problem with the page
overlapping itself on printing. The report I was building only required
one page in the end, so I never got to the bottom of it.
To do it with a subdetail band you could try having it disabled by
default and then enable it from the BeforePrint event of the Detail
band when it reaches the end of the main dataset.
Seth.
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz