SAP Knowledge Base Article - Public

1608050 - The ReportDocument.NoData event doesn't fire when a Crystal Report contains no records


  • Use the Crystal Reports .NET SDK to run a report - preview, export or print.
  • The report contains no records.
  • The ReportDocument.NoData event doesn't fire.


  • Visual Studio 2010
  • Crystal Reports for Visual Studio 2010

Reproducing the Issue

CrystalDecisions.CrystalReports.Engine.ReportDocument boReportDocument = new CrystalDecisions.CrystalReports.Engine.ReportDocument();
boReportDocument.NoData += new CrystalDecisions.CrystalReports.Engine.FormatPageEventHandler(Crystal_NoData);
private static void Crystal_NoData(CrystalDecisions.CrystalReports.Engine.FormatPageEventArgs e)
     MessageBox.Show("No report data - page: " + e.PageNumber.ToString());


  • The issue has been identified and logged under Problem Report ID ADAPT01554902.
  • The problem is related to the FieldMapping event not firing.


  • No solution at the time of writing this article.


KBA , BI-DEV-NET , BI Software Development Kits (SDKs) - .NET or Other , Bug Filed


SAP Crystal Reports, developer version for Microsoft Visual Studio