var
PageLine: integer;
PageMaxRow: integer=15;
procedure MasterData1OnBeforePrint(Sender: TfrxComponent);
begin
PageLine := <Line> mod PageMaxRow;
if (PageLine = 1) and (<line> > 1) then
Engine.newpage;
end;
怎样给PageMaxRow 赋值呢?
PageLine: integer;
PageMaxRow: integer=15;
procedure MasterData1OnBeforePrint(Sender: TfrxComponent);
begin
PageLine := <Line> mod PageMaxRow;
if (PageLine = 1) and (<line> > 1) then
Engine.newpage;
end;
怎样给PageMaxRow 赋值呢?
这有关于fastreport问题的整理
Q: 我定义了字符串变量:with frReport1.Dictionary do
Variables['Month'] := ‘March’;但是当我运行报表是,出现了错误,为什么?A: 因为 FastReport 假定数据词典中的字符串变量值是一个表达式,它需要分析、计算它。
可以使用其它的方法:with frReport1.Dictionary do
Variables['Month'] := ”” +’March’ + ””;
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
我 的 frxReport1 没有Dictionary啊?