【fastreport使用】fastreport中显示表格和打印空白表格

8月19日

【fastreport使用】fastreport中显示表格和打印空白表格

1、 使数据显示在表格中:在数据的Band中,选择每一个“text”,设置其上下左右的边框;然后把每个“Text”排整齐即可。

2、 在页末尾打印空白表格行:添加一个child band,同时在该band中设置跟数据band中相应的text;再添加一个footer band,设置其高度为0,同时为该footer band的onbeforePrint事件添加代码如下:

while Engine.freespace > 60 do

Engine.showband(Child1);

如图1:

未命名

图1 表格显示和打印空白表格

Leave a Reply

  

  

  

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>