Hello:
I am using the code below
ReportDocument reportDocument = new ReportDocument(); | |
reportDocument.Load(_reportRequestInfo.FullReportName, OpenReportMethod.OpenReportByDefault); | |
//reportDocument.ReportOptions.EnableSaveDataWithReport = false; |
....
reportDocument.ExportToDisk(exportFormatType, outputFileName);
and I noticed that the runtime returns the data from the report instead of re-running the query behind the report.
Now, if I uncomment the third line it works the way it should. Is that the way to force the CR runtime to discard the data in the report and force the engine to re-run the queries upon export to disk?
Thanks