怎样用fast report 报表打印固定行,比如每页打印10行?
方法越简单越好!
那你把页脚设置大一些!
你调试一下即可!
fastreport有个Demo 在Using Interpreter目录树下的Print empty grid
注意fastreport版本是2.05的才有这个例子.
首先建一个child band,比如取名为Child1,空表
master band的onbeforeprint事件加入
lineNo:=[line#]
加一个master footer band
在他的onbeforeprint事件里写上
while lineNo<10 do
begin
lineNo:=lineNo+1;
showband(child1);
end;
也可以判断等于或大于10的情况
这样就可以了