C
copy8
Unregistered / Unconfirmed
GUEST, unregistred user!
我用的是 adoquery1.sql.text := 'select 产品,年度,sum(数量),sum(金额),sum(总价) from table group by 产品,年度 order by 产品,年度 ';
表中有很多产品,用FastReprt如何做出这种郊果?
产品 年度 数量 金额 总价
_________________________________________
| | 1992 | | | |
| |__________|______|______|__________|
| 产 | 1993 | | | |
| 品 |__________|______|______|__________|
| 一 | 1994 | | | |
| |__________|______|______|__________|
| | 1995 | | | |
|____|__________|______|______|__________|
| | 1992 | | | |
| |__________|______|______|__________|
| 产 | 1993 | | | |
| 品 |__________|______|______|__________|
| 二 | 1994 | | | |
| |__________|______|______|__________|
| | 1995 | | | |
|____|__________|______|______|__________|
………………………………………………………
……………………………………………………
表中有很多产品,用FastReprt如何做出这种郊果?
产品 年度 数量 金额 总价
_________________________________________
| | 1992 | | | |
| |__________|______|______|__________|
| 产 | 1993 | | | |
| 品 |__________|______|______|__________|
| 一 | 1994 | | | |
| |__________|______|______|__________|
| | 1995 | | | |
|____|__________|______|______|__________|
| | 1992 | | | |
| |__________|______|______|__________|
| 产 | 1993 | | | |
| 品 |__________|______|______|__________|
| 二 | 1994 | | | |
| |__________|______|______|__________|
| | 1995 | | | |
|____|__________|______|______|__________|
………………………………………………………
……………………………………………………