----- Original Message -----
Sent: Thursday, September 21, 2000 11:26
PM
Subject: Re: [DUG]: QuickReport -
ForceNewPage on a Group
i.e. QRGroup3.ForceNewPage := True;
You don't use Report.QRGroup3.ForceNewPage
because QRGroup3 is actually a variable of the form (you will see it in the
form definition above Private) instead of a property of the Report.
You probably could access the group through the
Report if you wanted to but you wouldn't be using the name QRGroup3 (or
whatever) - that is the name of the form level variable only.
David.
DB Solutions.
----- Original Message -----
Sent: Friday, September 22, 2000 5:31
PM
Subject: RE: [DUG]: QuickReport -
ForceNewPage on a Group
The property is in the QRGroup component, all you'd
have to do is put the name of the band before it since it is a property of
the band.
Patrick
Don't assume too much! This is probably
VERY simple.
If you drop a TQRGroup onto a report and put
my code
ForceNewPage :=
True;
into the BeforePrint event, does it work? or is there some other
blindingly obvious (to anyone else) reference that you have to put in
front of it - such as
Report.QRGroup3.ForceNewPage := True;
for example??
TIA
Mark
----- Original Message
-----
Sent: Thursday, September 21, 2000
12:33 PM
Subject: RE: [DUG]: QuickReport -
ForceNewPage on a Group
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.
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
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