This topic has been archived. It cannot be replied.
-
工作学习 / IT技术讨论 / VB报表问题,急!怎么在VB 中实现例如以下报表格式:
姓 名 基 本 工 资 姓 名 基 本 工 资
alan 50000 Steve 40000
Lee 30000 James 50000
Joe 40000 Eric 30000
当记录显示到JOE时, 已经到页底,不换页,直接换列显示
-alan(alan);
2002-3-13
{340}
(#400990@0)
-
What are you using for report. I thought if you want to show n columns in one page, maybe you can build a loop: for i=1 to maxrecords/nfor 1st column
1--->maxrecords/n
for 2nd column
maxrecords/n+1---->2*maxrecords/n
-lilyba(Sunshine);
2002-3-13
{84}
(#401003@0)
-
Thanks .I am using data report designer from VB6.0 ,
-alan(alan);
2002-3-13
(#401012@0)
-
up
-alan(alan);
2002-3-13
(#401039@0)
-
我未用过这个。不知道在报表中的控件是否要有数据源。
你的数据源是什么:数组还是数据库。
我用CRYSTAL REPORT时,也想解决这一问题。(但没解决)
如果报表中的控件不要求数据源,可以通过循环解决。
-lilyba(Sunshine);
2002-3-13
{176}
(#401052@0)
-
yes,it has datasource. the data source is a table in MSACESS,anyway,thanks a lot!
-alan(alan);
2002-3-13
(#401061@0)
-
up
-alan(alan);
2002-3-13
(#401203@0)
-
so easy. vb report is not good for that. but you still can do that.
use delph's quick report.
-tsh(frank);
2002-3-15
(#404344@0)