Crystal Report第一次正确打开,第二次给出索引0超出范围(参数超出范围异常)

时间:2018-09-27 17:50:18

标签: c# crystal-reports

ReportDocument reportDocument = new ReportDocument();
string filePath = crystal_path+reportnm;
reportDocument.Load(filePath);
reportDocument.RecordSelectionFormula="{SaleMaster.TranNo}='"+TranNo+"'";

this.CrystalReportViewer1.ReportSource = reportDocument;
ReportShow rpts = new ReportShow();
this.Show();
CrystalReportViewer1.Show();

我想一张一张打印钞票,但是第二张钞票提交却出错。

0 个答案:

没有答案