B
beamer
Unregistered / Unconfirmed
GUEST, unregistred user!
各位:
本人用QReport打印报表(数据库采用MDB),但部门小计与公司总计不知如何完成。格式如下:
-----------------------------------
|员工编号|部门号|数据项1|数据项2|数据项3|数据项4|数据项5 |
|----------------------------------|
|A001 |a01 |XXX.XX | XXX.XX |XXX.XX |xxxx.XX | XXX.XX |
|A002 | A01 |XXX.XX | XXX.XX |XXX.XX | XXX.XX | XXXX.XX |
| : |
| : |
|---------------------------------------------------------------------|
| A01部门小计 |XXX.XX | XXX.XX |XXX.XX | XXX.XX | XXXX.XX |
|---------------------------------------------------------------------|
|A004 |b01 |XXX.XX | XXX.XX |XXX.XX |xxxx.XX | XXX.XX |
| A005 | B01 |XXX.XX | XXX.XX |XXX.XX | XXX.XX | XXXX.XX |
| : |
| : |
|---------------------------------------------------------------------|
| B01部门小计 |XXX.XX | XXX.XX |XXX.XX | XXX.XX | XXXX.XX |
|---------------------------------------------------------------------|
| 公司部门总计 |XXX.XX | XXX.XX |XXX.XX | XXX.XX | XXXX.XX |
|---------------------------------------------------------------------|
本人用QReport打印报表(数据库采用MDB),但部门小计与公司总计不知如何完成。格式如下:
-----------------------------------
|员工编号|部门号|数据项1|数据项2|数据项3|数据项4|数据项5 |
|----------------------------------|
|A001 |a01 |XXX.XX | XXX.XX |XXX.XX |xxxx.XX | XXX.XX |
|A002 | A01 |XXX.XX | XXX.XX |XXX.XX | XXX.XX | XXXX.XX |
| : |
| : |
|---------------------------------------------------------------------|
| A01部门小计 |XXX.XX | XXX.XX |XXX.XX | XXX.XX | XXXX.XX |
|---------------------------------------------------------------------|
|A004 |b01 |XXX.XX | XXX.XX |XXX.XX |xxxx.XX | XXX.XX |
| A005 | B01 |XXX.XX | XXX.XX |XXX.XX | XXX.XX | XXXX.XX |
| : |
| : |
|---------------------------------------------------------------------|
| B01部门小计 |XXX.XX | XXX.XX |XXX.XX | XXX.XX | XXXX.XX |
|---------------------------------------------------------------------|
| 公司部门总计 |XXX.XX | XXX.XX |XXX.XX | XXX.XX | XXXX.XX |
|---------------------------------------------------------------------|