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 

Subtotals only for some groups of records (with EXAMPLE)

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





PostPosted: Mon Nov 22, 2004 7:54 am    Post subject: Subtotals only for some groups of records (with EXAMPLE) Reply with quote



Hi, I am using Rave 5.0 Borland Edition with Delphi 7 .
I have, for example, a DataSet which has a Costumers, a Order and an
Amount paid data field coresponding to each order.
In my report I can make a subtotal of the amount paid for each
costumer.
My problem is that I don't want to print the subtotal when the number
of Orders is one .

This is the way I can do it

Costumers Orders Amount Paid

John 1 123
John 2 235
John 3 100
-------------------
Subtotal 458

Kim 1 432
-------------------
Subtotal 432 !!!!!(here is the problem)

Mary 1 100
Mary 2 567
-------------------
Subtotal 667

This is the way I would like the report to be:

Costumers Orders Amount Paid

John 1 123
John 2 235
John 3 100
-------------------
Subtotal 458

Kim 1 432 (now it's OK)

Mary 1 100
Mary 2 567
-------------------
Subtotal 667

If it is possible please send me a sample .rav file , please !

Thank you !
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Reporting-Charting All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.