{"id":837,"date":"2008-03-10T22:54:16","date_gmt":"2008-03-11T05:54:16","guid":{"rendered":"http:\/\/members.crystalreportsbook.com\/books\/?p=837"},"modified":"2010-05-17T00:09:42","modified_gmt":"2010-05-17T07:09:42","slug":"1720-subreports-and-dataset","status":"publish","type":"post","link":"http:\/\/www.crystalreportsonlinetraining.com\/training\/1720-subreports-and-dataset\/","title":{"rendered":"17.20 Subreports and DataSets"},"content":{"rendered":"<h1>Working with Subreports<\/h1>\n<p>If a subreport uses the Push Model, you have to pass a populated dataset to the subreport. Just like the main report, this is accomplished using the SetDataSource() method and passing it the dataset object (or any of the applicable data types). The code for working with subreports is in Listing 17-5.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Working with Subreports If a subreport uses the Push Model, you have to pass a populated dataset to the subreport. Just like the main report, this is accomplished using the SetDataSource() method and passing it the dataset object (or any of the applicable data types). The code for working with subreports is in Listing 17-5.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[42,40],"tags":[],"class_list":["post-837","post","type-post","status-publish","format-standard","hentry","category-chapter-17-data-sources","category-crystal-reportsnet-2008","entry"],"_links":{"self":[{"href":"http:\/\/www.crystalreportsonlinetraining.com\/training\/wp-json\/wp\/v2\/posts\/837","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=837"}],"version-history":[{"count":1,"href":"http:\/\/www.crystalreportsonlinetraining.com\/training\/wp-json\/wp\/v2\/posts\/837\/revisions"}],"predecessor-version":[{"id":1236,"href":"http:\/\/www.crystalreportsonlinetraining.com\/training\/wp-json\/wp\/v2\/posts\/837\/revisions\/1236"}],"wp:attachment":[{"href":"http:\/\/www.crystalreportsonlinetraining.com\/training\/wp-json\/wp\/v2\/media?parent=837"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.crystalreportsonlinetraining.com\/training\/wp-json\/wp\/v2\/categories?post=837"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.crystalreportsonlinetraining.com\/training\/wp-json\/wp\/v2\/tags?post=837"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}