我从数据库查询出来的结果想在quickreport中分页显示 ,然后在根据连续的编号连续打印
做成象这样的,
bagid 1
clothid number  clothid number在新的一页上能连续打印
bagid 2
clothid number clothid number如果想打印把bagid 2,3 就有一个范围,每页的报表都固定大小,听说可以用一个循环来做,可是我不会,哪位可以教教我create table test(clothid varchar(10),number varchar(10),bagid varchar(10))
insert into test
select '11-11','56','1'
union all select '11-12-1','45','1'
union all select '11-12-2','46','1'
union all select '11-12-3','50','2'
union all select '11-13-1','60','2'
union all select '11-13-2','32','2'
union all select '11-14','34','3'
union all select '11-15-1','45','3'
union all select '11-15-2','52','3'