L
lonelyboy
Unregistered / Unconfirmed
GUEST, unregistred user!
代码:
frreport1.PrintPreparedReportDlg;
frreport1.LoadFromFile(ExtractFilePath(ParamStr(0))+'rpt/dbd.frf');
frreport1.PrepareReport;
frreport1.PrintPreparedReport('',1,true,frall);
当运行frreport1.PrintPreparedReportDlg;后用户选择打印机后确定后系统报错:
出现消息窗口"List index out of bound(0)",
如果不用frreport1.PrintPreparedReportDlg;
就没有报错,也可以向默认的打印机输出.请问我应该怎么做啊?