BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

QuickReport Cant't get Group Footer to work.

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Reporting-Charting
View previous topic :: View next topic  
Author Message
Jim Miller
Guest





PostPosted: Thu Oct 30, 2003 4:07 am    Post subject: QuickReport Cant't get Group Footer to work. Reply with quote



I am new to QuickReports. I have a Detail Band with a database field
called ADODataSet1.R_PROVNO. The detail report is fine. I want to
break on ADODataSet1.R_PROVNO and have a count.
I have a Group Footer with the following expression.
COUNT(ADODataSet1.R_PROVNO)
I do not get any group counts. ( no group breaks at all). Suggestions?
Jim


Back to top
Dhaval Shah
Guest





PostPosted: Fri Oct 31, 2003 12:35 am    Post subject: Re: QuickReport Cant't get Group Footer to work. Reply with quote



Jim,
Add a TQRGRoup band and assign ADODataSet1.R_PROVNO as it's "Expression".
Assign the Groupfooter band as it's "Footerband" (or if that property's
not in the TQRGroupband, assign this TQRGroup band as the Footer band's
"HeaderBand").
Also ensure that your "ResetAfterPrint" for this expression (count) is
set to true (otherwise the count will keep on adding from the 1st group
onwards).
This is from top of my head (as far as i remember Quickreports).
HTH
Dhaval Shah
Sr. Software Developer
Perth, Auatralia

Jim Miller wrote:
Quote:
I am new to QuickReports. I have a Detail Band with a database field
called ADODataSet1.R_PROVNO. The detail report is fine. I want to
break on ADODataSet1.R_PROVNO and have a count.
I have a Group Footer with the following expression.
COUNT(ADODataSet1.R_PROVNO)
I do not get any group counts. ( no group breaks at all). Suggestions?
Jim



Back to top
Jim Miller
Guest





PostPosted: Sat Nov 01, 2003 5:20 pm    Post subject: Re: QuickReport Cant't get Group Footer to work. Reply with quote

On Fri, 31 Oct 2003 08:35:27 +0800, Dhaval Shah
<MrDhavalShah (AT) yahoo (DOT) com.au> wrote:

Quote:
Jim,
Add a TQRGRoup band and assign ADODataSet1.R_PROVNO as it's "Expression".
Assign the Groupfooter band as it's "Footerband" (or if that property's
not in the TQRGroupband, assign this TQRGroup band as the Footer band's
"HeaderBand").
Also ensure that your "ResetAfterPrint" for this expression (count) is
set to true (otherwise the count will keep on adding from the 1st group
onwards).
This is from top of my head (as far as i remember Quickreports).
HTH
Dhaval Shah
Sr. Software Developer
Perth, Auatralia

Jim Miller wrote:
I am new to QuickReports. I have a Detail Band with a database field
called ADODataSet1.R_PROVNO. The detail report is fine. I want to
break on ADODataSet1.R_PROVNO and have a count.
I have a Group Footer with the following expression.
COUNT(ADODataSet1.R_PROVNO)
I do not get any group counts. ( no group breaks at all). Suggestions?
Jim


Thanks Dhaval. I thought I had tried everything but I missed

Add a TQRGRoup band and assign ADODataSet1.R_PROVNO as it's
"Expression".
Jim

Back to top
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Reporting-Charting All times are GMT
Page 1 of 1

 
 


Powered by phpBB © 2001, 2006 phpBB Group
.