FastReport icon indicating copy to clipboard operation
FastReport copied to clipboard

Report.Prepare() takes too much time to compile the report

Open frontlook-admin opened this issue 3 years ago • 2 comments

``
var report = new WebReport(); report.Report.Load(ReportFilePath); report.Report.RegisterData(ds, DatabaseName); if (parameters != null && parameters.Count > 0) { parameters.ForEach(e => { report.Report.SetParameterValue(e.Name, e.Value); }); } report.EmbedPictures = true; report.Report.Prepare(); //return report;

``

It takes too much time to prepare the report. minimum 30 secs after providing all the data in a DataSet. Am I doing any thing wrong?

frontlook-admin avatar Nov 22 '23 13:11 frontlook-admin

Interesting, How big is your dataset?

alberk8 avatar Dec 14 '23 02:12 alberk8

This behavior usually occurs because of a large dataset or a complex report.

Yamasiash avatar Jan 15 '24 11:01 Yamasiash