{"id":644,"date":"2008-01-04T19:48:09","date_gmt":"2008-01-05T02:48:09","guid":{"rendered":"http:\/\/members.crystalreportsbook.com\/crystal-reports-xi\/15-9-understanding-the-summary-field-classes\/"},"modified":"2010-11-17T18:44:18","modified_gmt":"2010-11-18T01:44:18","slug":"15-9-understanding-the-summary-field-classes","status":"publish","type":"post","link":"http:\/\/www.crystalreportsonlinetraining.com\/training\/15-9-understanding-the-summary-field-classes\/","title":{"rendered":"15.09 Understanding the Summary Field Classes"},"content":{"rendered":"<h2>Understanding the Summary Field Classes<\/h2>\n<p>The summary field classes are referenced with the SummaryField property of the DataDefinition class.<\/p>\n<p>         <a href=\"http:\/\/www.crystalreportsonlinetraining.com\/Images\/CRNet2003\/Ch15\/image025.png\"><br \/>\n            <img decoding=\"async\" src=\"http:\/\/www.crystalreportsonlinetraining.com\/Images\/CRNet2003\/Ch15\/image026.gif\"><br \/>\n            <\/img><br \/>\n         <\/a><br \/>\n         <b>Figure 15-13. The Summary Field classes.<\/b><\/p>\n<p>The SummaryField property is a collection of SummaryFieldDefinition objects. Each object contains all the information about each summary field: the field, the summary operation, etc. Unfortunately, it is missing one key piece of data: the section it is located in. There are no properties to tell you if it is a subtotal or a grand total. This is an important piece of information that you need to know about a field. To see how much information is provided to you, look at Figure 15-14. It is the output of the Mapping application for the SummaryField collection. You can see that there is no way to determine which fields are subtotals and which ones are grand totals.<\/p>\n<p>         <a href=\"http:\/\/www.crystalreportsonlinetraining.com\/Images\/CRNet2003\/Ch15\/image027.png\"><br \/>\n            <img decoding=\"async\" src=\"http:\/\/www.crystalreportsonlinetraining.com\/Images\/CRNet2003\/Ch15\/image028.jpg\"><br \/>\n            <\/img><br \/>\n         <\/a><br \/>\n         <b>Figure 15-14. The summary fields mapping output.<\/b><\/p>\n<p>While accessing all the summary fields from the DataDefinition class is possible, you aren&#8217;t given enough information to make it practical. It is better to reference these fields from within the sections that they are located in.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Understanding the Summary Field Classes The summary field classes are referenced with the SummaryField property of the DataDefinition class. Figure 15-13. The Summary Field classes. The SummaryField property is a collection of SummaryFieldDefinition objects. Each object contains all the information about each summary field: the field, the summary operation, etc. Unfortunately, it is missing one [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[35,2],"tags":[],"class_list":["post-644","post","type-post","status-publish","format-standard","hentry","category-chapter-15-runtime-customization","category-crystal-reportsnet-2003","entry"],"_links":{"self":[{"href":"http:\/\/www.crystalreportsonlinetraining.com\/training\/wp-json\/wp\/v2\/posts\/644","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.crystalreportsonlinetraining.com\/training\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.crystalreportsonlinetraining.com\/training\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.crystalreportsonlinetraining.com\/training\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.crystalreportsonlinetraining.com\/training\/wp-json\/wp\/v2\/comments?post=644"}],"version-history":[{"count":1,"href":"http:\/\/www.crystalreportsonlinetraining.com\/training\/wp-json\/wp\/v2\/posts\/644\/revisions"}],"predecessor-version":[{"id":1640,"href":"http:\/\/www.crystalreportsonlinetraining.com\/training\/wp-json\/wp\/v2\/posts\/644\/revisions\/1640"}],"wp:attachment":[{"href":"http:\/\/www.crystalreportsonlinetraining.com\/training\/wp-json\/wp\/v2\/media?parent=644"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.crystalreportsonlinetraining.com\/training\/wp-json\/wp\/v2\/categories?post=644"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.crystalreportsonlinetraining.com\/training\/wp-json\/wp\/v2\/tags?post=644"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}