我从数据库查询出来的结果想在quickreport中分两拦显示 ,然后在根据连续的编号连续打印

解决方案 »

  1.   

    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'
      

  2.   

    做成象这样的
    bagid 1
    clothid number  clothid number在新的一页上能连续打印
    bagid 2
    clothid number clothid number