to Zhymax(蓝点) : 用QuickReport可以吗?但是所有band都只能够对应一个QuickReport的DataSet,怎么同时显示3张表的内容呢? 用FastReport的TfrCompositeReport好像可以,但是不知道怎么让它把3张表尽量在一页纸上输出(总是每张表占一页)。demo倒是可以,但不知道是怎么实现的,哪位仁兄帮帮忙?谢谢了!
Composite reports are reports that includes several other reports. For creating composite reports, you should use TfrCompositeReport object . Place it on the form and fill its “Reports” property in run-time by references to other reports. Reports will be printed sequentially. If a reports page have “Print to ^^^^^^^^ previous page” option, it will be printed at remained space at the last page of ^^^^^^^^^^^^^ the previous report.
用QuickReport可以吗?但是所有band都只能够对应一个QuickReport的DataSet,怎么同时显示3张表的内容呢?
用FastReport的TfrCompositeReport好像可以,但是不知道怎么让它把3张表尽量在一页纸上输出(总是每张表占一页)。demo倒是可以,但不知道是怎么实现的,哪位仁兄帮帮忙?谢谢了!
假设有三张表:A(a1,a2,a3), B(b1,b2,b3,b4,b5), C(c1,c2)
希望输出的样子是这样的:
Table A+B+C ------- 标题
Table A ------- 标题
a1 a2 a3 ------- 表头
12 33 22
34 32 21
98 45 26 Table B ------- 标题
b1 b2 b3 b4 b5 ------- 表头
1 1 3 9 3
4 6 2 6 3
…… Table C
c1 c2
45 95
32 21
……就是这么简单,唯一要求是这3张表是一个接一个连续输出,而不是每张表都换新页。
^^^^^^^^
previous page” option, it will be printed at remained space at the last page of
^^^^^^^^^^^^^
the previous report.