to gyk120: 什么意思?把FR当中的报表整个复制到Delphi当中?
请看我上面的小例子,当报表开始打印后,即使打印完关掉报表,也再无法回到Delphi中继续执行下面的代码,更别说要将FR中的比如产生的合计(总结)值返回给Delphi处理了
能看到么?
请看下面的例子:
举个简单点的例子:
while not ADOTable1.Eof do
begin
frxReport1.loadfromfile(extractfilepath(application.exename)+'报表.fr3');
frxReport1.ShowReport;
//frxReport1.Print; 此处需能取得FR报表的值返回给Delphi继续执行下面代码
showmessage('晕');
ADOTable1.Next;
end;
举个简单点的例子:
while not ADOTable1.Eof do
begin
frxReport1.loadfromfile(extractfilepath(application.exename)+'报表.fr3');
frxReport1.ShowReport;
//frxReport1.Print;
此处需能取得FR报表的值返回给Delphi继续执行下面代码
showmessage('晕');
ADOTable1.Next;
end;