1。FastReport 怎么分页?
2。FastReport 里的空格函数?

解决方案 »

  1.   

    2。FastReport 里的空格函数?
    >>>关注
      

  2.   

    对于fr2.x版本的fr:
    ==================
    加一个band(子),命名为Band1,把它的高度设置为与主项数据band一致,然后把主项数据的表格复制过来,在页脚的onbeforeprint事件中加入如下代码:begin
      I:= 0;
      RecordCount:= [Count(MasterData1)];
      ROW_COUNT:= 20;  for I:= 1 to ROW_COUNT - RecordCount do
        ShowBand(Child1)
    end
      

  3.   

    3.0var
      PageLine: integer;       
      PageMaxRow: integer=10;  procedure MasterData1OnBeforePrint(Sender: TfrxComponent);
    begin
      PageLine := <line> mod PageMaxRow;
      if (PageLine = 1) and (<line> > 1) then
        Engine.newpage;
    end;
      

  4.   

    楼上的。有没有DEMO啊?小弟刚接触fastreport  万分感谢
      

  5.   

    邮箱:[email protected]
    谢谢
      

  6.   

    例如:
        我现在只放一个DEMO,DEMO里面的内容不只一页。要怎么做才能分页了。