SAP Knowledge Base Article - Public

1423874 - How to ensure a report has all saved data when using SaveAs method in Visual Studio .NET


  • Depending on the report design, sometimes not all data is saved with a report when using the SaveAs method: ReportDocument.SaveAs(ReportDocument.FileName, True)
  • How to ensure that the data is saved with any report?


Instances where saved data may not be preserved with a report include reports with subreports, subreports in suppressed sections, on demand subreports and more.


  • Use Getlastpage to force the report to process all sections and subreports:
Dim prc As New CrystalDecisions.Shared.ReportpageRequestContext


forum thread , KBA , BI-DEV-NET , BI Software Development Kits (SDKs) - .NET or Other , How To


Crystal Reports 2008 V0 ; Crystal Reports 2008 V1 ; SAP Crystal Reports 10.0 ; SAP Crystal Reports 9.0 ; SAP Crystal Reports XI ; SAP Crystal Reports XI R2