Displaying 1 result from an estimated 1 matches for "total_card".
2005 Sep 04
0
Control break in Rails
...varchar(20) ,
description varchar(80) ,
amount decimal(10,2)
)
with this data
1, AA, xxxxxxx, 20.45
2, BB, xxxxxxx, 3.45
3, AA, xxxxxxx, 23.45
4, AA, xxxxxxx, 11.22
5, BB, xxxxxxx, 91.77
and we want to make a report like this:
CARD AA
description amount
(...)
description amount
TOTAL CARD AA: total_card
CARD BB
description amount
(...)
description amount
TOTAL CARD BB: total_card
TOTAL PURCHASES: total_purchases
Any help would be appreciated !
Carlos
_______________________________________________
Rails mailing list
Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
http://lists.rub...