The Composite Report seems to work. However I need to set the report to
Landscape. I have tried setting the Orientation in the PrinterSettings to
poLandscape, but this doesn't seem to work.
I think I may have to use the ApplySettings call, but it needs to be passed
a printer name and I dont know how to reference it.

The call is
CompositeReport1.PrinterSettings.ApplySettings(APrinter : TQRPrinter);


-----Original Message-----
From: Seth Wagoner [mailto:[EMAIL PROTECTED]]
Sent: Monday, 17 July 2000 17:56
To: Multiple recipients of list delphi
Subject: Re: [DUG]: Sub Reports


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



CAUTION - This message may contain privileged and confidential information intended 
only for the 
use of the addressee(s) named above.  If you are not the intended recipient of this 
message you are 
hereby notified that any use, dissemination, distribution or reproduction of this 
message is prohibited.  
If you have received this message in error please notify Progressive Enterprises Ltd. 
immediately via 
email at [EMAIL PROTECTED]  Any views expressed in this message 
are those of the 
individual sender and may not necessarily reflect the views of Progressive Enterprises 
Ltd.

This footnote also confirms that Progressive Enterprises Ltd. has swept this email 
message for the 
presence of computer viruses.  This does not guarantee this message is virus free.

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to