Technology Blogs by Members
Explore a vibrant mix of technical expertise, industry insights, and tech buzz in member blogs covering SAP products, technology, and events. Get in the mix!
cancel
Showing results for 
Search instead for 
Did you mean: 
saurabh_pathak
Active Contributor
0 Kudos

Crystal Reports 2008 (designer) can help you and others identify the report(s) through Summary Info.  With this blog I would like to show how it can be added/set using Crystal Reports .NET SDK.

Why should Summary Info be used?

  1. Not always we want some information to be printed, but known to the recipient of the report.
  2. This can serve as personal note explaining everything on which this report is based or as a comment explaining about the data in the report.
  3. Summary Info lists author, keywords, comments, title, subject, and template.

How to add/set it from Crystal Reports Designer?

  • Open a report
  • File > Summary Info

  • A dialog box called Document Properties would open as follows and fill whatever is required.

How to set it using Crystal Reports .NET SDK?

Use following code which is quite simple to implement.

Sample Code

ReportDocument rd = new ReportDocument();

rd.Load(Server.MapPath("CrystalReports.rpt"));

rd.SummaryInfo.KeywordsInReport = "Quantity, Products, OrderID ";

rd.SummaryInfo.ReportAuthor = "Saurabh";

rd.SummaryInfo.ReportComments = "This is intended for testing";

rd.SummaryInfo.ReportSubject = "Adding Summary Info to reprot";

rd.SummaryInfo.ReportTitle = "SummaryInfo";

rd.SaveAs(Server.MapPath("CrystalReports.rpt"));

Automating this process, one can really save lot of time to complete this activity manually.

Note: Don't forget to close and dispose the ReportDocument object after the completion of the task.

4 Comments
Former Member
What happened to SummaryInfo.Template
saurabh_pathak
Active Contributor
ludek.uher any idea?

 
former_member598005
Discoverer
0 Kudos
Hello, so is there a way to get SummaryInfo.Template? We are moving old c++ that was handling crystal reports into .net and I must be able to read that summary template for several reasons...
Any answer would be grately appreciated, Thank You in advance!
0 Kudos
I also need to read the SummaryInfo.Template property, but it is not available in .NET (C#). Is there any workaround? Was someone be able to read it?
Labels in this area