H
hubeizwj
Unregistered / Unconfirmed
GUEST, unregistred user!
不用前台循环.不用后台SQL,如何在ClientDataSet上实现这样的统计.
ID COST1 BB1 COST2 BB2
1 3 HKD 15 HKD
2 10 RMB 23 RMB
3 2 RMB 2 RMB
4 45 HKD 10 HKD
5 2 HKD 51 HKD
6 102 RMB 0 RMB
7 20 RMB 0 RMB
COST1(RMB)总计:134 COST1(HKD)总计: 50
COST2(RMB)总计: 25 COST2(HKD)总计: 76
ID COST1 BB1 COST2 BB2
1 3 HKD 15 HKD
2 10 RMB 23 RMB
3 2 RMB 2 RMB
4 45 HKD 10 HKD
5 2 HKD 51 HKD
6 102 RMB 0 RMB
7 20 RMB 0 RMB
COST1(RMB)总计:134 COST1(HKD)总计: 50
COST2(RMB)总计: 25 COST2(HKD)总计: 76