Quantcast
Channel: SCN : Discussion List - SAP Crystal Reports, version for Visual Studio
Viewing all articles
Browse latest Browse all 3636

How to format the summary field in GROUP?

$
0
0

Hi All, I am working on reporting application where I need to put the summary field in group footer area. As per crystal dev guide, I have coded in following way. But I don't think it is adding summary field to group footer. I need to add the summary field to group footer area and format it. Left, Top, Width, Font, FontColor,etc. CrystalDecisions.ReportAppServer.DataDefModel.SummaryField summaryField = new CrystalDecisions.ReportAppServer.DataDefModel.SummaryField() summaryField.Group = _reportDocument.ReportClientDocument.DataDefController.DataDefinition.Groups[0]; summaryField.SummarizedField = crDbField; summaryField.Operation = CrystalDecisions.ReportAppServer.DataDefModel.CrSummaryOperationEnum.crSummaryOperationCount; _reportDocument.ReportClientDocument.DataDefController.SummaryFieldController.Add(-1, summaryField);        but I am looking for something summaryField.Left = 250; summaryField.Border.BottomLineStyle = CrystalDecisions.ReportAppServer.ReportDefModel.CrLineStyleEnum.crLineStyleSingle;  var groupFooterArea = _reportDocument.ReportClientDocument.ReportDefController.ReportDefinition.GroupFooterArea[0].Sections[i]; _reportDocument.ReportClientDocument.ReportDefController.ReportObjectController.Add(summaryField, groupFooterArea);    Framework:  .NET runtime + CrystalDecisions.ReportAppServer.* dlls. Version: 13.0.2000.0 Please reply. Thanks in advance.


Viewing all articles
Browse latest Browse all 3636

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>