Symptom
How to add a SummaryInfo to a report using the Crystal Reports .NET SDK ?
Reproducing the Issue
Resolution
sample code :
using System;
using System.Windows.Forms;
using CrystalDecisions.CrystalReports.Engine;
ReportDocument m_boReportDocument;
//create a new ReportDocument
m_boReportDocument = new ReportDocument();
//load the RPT file
m_boReportDocument.Load("..\\..\\Samplereport.rpt");
//set the SummaryInfo content
m_boReportDocument.SummaryInfo.ReportAuthor = "Author";
m_boReportDocument.SummaryInfo.ReportComments = "Comments";
m_boReportDocument.SummaryInfo.ReportSubject = "Subject";
m_boReportDocument.SummaryInfo.ReportTitle = "Title";
//show in reportviewer
crystalReportViewer1.ReportSource = m_boReportDocument;
Keywords
How add SummaryInfo Crystal Reports .NET SDK , KBA , BI-DEV-NET-SDK , .NET SDK / COM SDK , How To