delphi7用rave5做报表,当内容过多分页打印时,如何保证他们都有页眉页脚? 请帮忙!谢谢!

解决方案 »

  1.   

    databand有个属性controlerband和bandstyle,合理的设置它们即可尤其是bandstyle,可以设置为位置及出现的次数,你看一下
      

  2.   

    选中Band-->属性BandStyle,单击右边的...,在弹出的设置Band style editor选择合适的print location和print occurrence即可。
      

  3.   

    选中你的bandstyle,然后点击后面的小钮,就会出来一个对话框,然后将要为页角的band选中,在print location中选择:body footer
    print occurance选择print first.
    试试
      

  4.   

    选中Band-->属性BandStyle,单击右边的...,在弹出的设置Band style editor选择合适的print location和print occurrence(First,New Page)即可。
      

  5.   

    我试了一下  还是不能实现分页后每页都有页眉页脚 我的band 是这样排列的:Band1---dataBand1--Band2(前面都要设成页眉)---dataBand2(表体)----Band3(设成页脚)  能否告诉我 她们该怎么设置才能  
      

  6.   


    Band1-->print location: body header
            print occurrence: First,New Page
    Band2-->print location: body footer
            print occurrence: First,New Page 
      

  7.   

    试2
    Band1-->print location: group header 
            print occurrence: First,New Page
    Band2-->print location: group footer
            print occurrence: First,New Page 
      

  8.   

    你怎麼會用這處報表控件改用 FastReport 吧,很不錯的
      

  9.   

    请问 他们的controlerband 属性该怎么设
      

  10.   

    Band1.ControllerBand := DataBand1;
    Band2.ControllerBand := DataBand1;
      

  11.   

    谢谢 页眉搞定了  但
    Band3  呢   现在是第一页没有页脚了,只有最后一页有
      

  12.   

    我也没很会用rave,你试:
    Band3-->print location: body footer
            print occurrence: First,New Page 
    Band2.ControllerBand := DataBand2;
      

  13.   

    应是:
    我也没很会用rave,你试:
    Band3-->print location: body footer
            print occurrence: First,New Page
    Band3.ControllerBand := DataBand2;
      

  14.   

    Band3-->print location: body footer 
            print occurrence: First,New Page 
    Band3.ControllerBand := DataBand2这我试了 只有最后一页有页脚 前面的页面没有  请问还有其它的办法吗
      

  15.   

    用fastreport吧,有专门的页眉页脚