SAP Knowledge Base Article - Public

1673530 - HTML export missing page footers

Symptom

  • Multi-page report when exported to HTML (4.0 / 3.2)
  • Export from Crystal Reports Designer contains page footers
  • Export from a VS 2010 application using the Crystal Reports or InProc RAS SDK is missing page footers
  • Only the last page has the page footer exported

Environment

  • Crystal Reports for Visual Studio 2010
  • Visual Studio 2010

Reproducing the Issue

  1. Create a multi-page report
  2. Add a field (Page N of M) to the page footer
  3. Save the report
  4. Create a new Visual Studio 2010 application using the following code to export the report:
Public Sub New()
        ' This call is required by the designer.
        InitializeComponent()
        ' Add any initialization after the InitializeComponent() call.
        Dim crReportDocument As New CrystalDecisions.CrystalReports.Engine.ReportDocument()
        crReportDocument.Load("C:\Crystal\formulas.rpt")

        crReportDocument.ExportToDisk(ExportFormatType.HTML40, "c:\crystal\formulas.html")
End Sub
 

Cause

The issue has been identified and tracked under ID ADAPT01609183.

Resolution

The issue has been fixed in Service Pack 3 (SP3)

Keywords

CR2010 2010 CR4VS2010 CR4VS VS2010 NET2010 Crystal Reports for .NET Framework 4.0 crforvs 13 multi page many HTM , KBA , BI-DEV-NET-SDK , .NET SDK / COM SDK , Bug Filed

Product

SAP Crystal Reports, developer version for Microsoft Visual Studio