OK it looks like you arem using a differnet version of QR than I am ???????
 
In Qr2 the TQRGroup is a thing that you drop onto your form and from memory has a header, group and footer band. The bands all have the BeforePrint events. Now in your group's band there is the BeforePrint event you can use to set the property. I would expect that to work.
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Mark Howard
Sent: Saturday, 23 September 2000 02:23
To: Multiple recipients of list delphi
Subject: Re: [DUG]: QuickReport - ForceNewPage on a Group

Yes, that's what I would have expected. Or even set it for that Group in a BeforeReportPrint - but the problem that I have (and it probably is just me) is that there doesn't seem to be a TQRGroup defined in the TQReport class for me to set the property ForceNewPage property of.
 
If I try to do:
    ForceNewPage := True;
 in the BeforePrint event I get "Undeclared indentifier"
So, I guess, what do I need to precede ForceNewPage with?
 
Mark
----- Original Message -----
Sent: Thursday, September 21, 2000 1:35 AM
Subject: RE: [DUG]: QuickReport - ForceNewPage on a Group

 I assume you would do this in the BeforePrint event handler
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Mark Howard
Sent: Friday, 22 September 2000 11:18
To: Multiple recipients of list delphi
Subject: [DUG]: QuickReport - ForceNewPage on a Group

Hi guys
 
I'm wanting to conditionally set ForceNewPage to True on a Group in QuickReports.
Can someone please post a short example of the code to do this. 
I must be missing something basic.
 
Thanks
 
Mark

Reply via email to