 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
RaveUser Guest
|
Posted: Mon Nov 22, 2004 7:54 am Post subject: Subtotals only for some groups of records (with EXAMPLE) |
|
|
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 |
|
 |
|
|
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
|
|