Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

Subject: Intermittent "Record not found"

Hi,

I'm experiencing a very strange issue. I'm working with Delphi 12.2 and ReportBuilder 22.06. I have a custom implementation of TReportExplorer. Most of the time, I can preview, print, and export reports without any problem.

However, from time to time, a specific report fails to load. The same report may have been loaded successfully several times before, and it's not always the same report that fails. When this happens, all other reports load fine—except that one. If I close the explorer and reopen it, the same report loads without any issues.

I believe the same behavior might happen even when loading the report without going through the explorer, but I haven’t been able to reproduce that myself. Multiple users have reported this to me, but it’s very hard to reproduce consistently.

The error occurs in the line:

FReportExplorer.LoadReport(FListView.ItemName, FListView.FolderId);

The parameters are correct, but the error returned is:Record not found:

Any ideas on what might be causing this or how to further debug it?

Thanks in advance.
Sign In or Register to comment.