{"id":865,"date":"2013-12-02T20:02:59","date_gmt":"2013-12-03T01:02:59","guid":{"rendered":"http:\/\/regina-whipp.com\/blog\/?p=865"},"modified":"2016-07-08T23:01:37","modified_gmt":"2016-07-09T03:01:37","slug":"report","status":"publish","type":"post","link":"https:\/\/regina-whipp.com\/blog\/?p=865","title":{"rendered":"Adding *continued&#8230;* to a Multicolumn Report&#8230;"},"content":{"rendered":"<div>After seeing a post in a <a href=\"http:\/\/www.access-programmers.co.uk\/forums\/showthread.php?t=57847\" target=\"_blank\">Forum<\/a>\u00a0asking about\u00a0how to add the word *continued&#8230;* to a Multicolumn Report\u00a0I thought it would be fun to create a sample database showing off the feature, to\u00a0download\u00a0click\u00a0<a href=\"http:\/\/www.access-diva.com\/myzipfiles\/MulticolumnReport.zip\" target=\"_blank\">here<\/a> (Access 2007 or above needed and an unzipping program.\u00a0 Images are <strong>not<\/strong> included!).\u00a0\u00a0And, of course, like everything else, I could not just stop at just doing a simple Multicolumn Report&#8230; so, I added the ability to add pictures at the beginning of each Articles (or not), printing Articles or Publications, like Newsletters!\u00a0 (To read more about that click <a href=\"http:\/\/www.access-diva.com\/r5.html\" target=\"_blank\">here<\/a>.)<\/div>\n<div><\/div>\n<div>\n<div id=\"attachment_867\" style=\"width: 544px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-867\" class=\"wp-image-867 size-full\" src=\"http:\/\/regina-whipp.com\/blog\/wp-content\/uploads\/2013\/11\/Publication.png\" alt=\"Figure 1\" width=\"534\" height=\"768\" srcset=\"https:\/\/regina-whipp.com\/blog\/wp-content\/uploads\/2013\/11\/Publication.png 534w, https:\/\/regina-whipp.com\/blog\/wp-content\/uploads\/2013\/11\/Publication-208x300.png 208w, https:\/\/regina-whipp.com\/blog\/wp-content\/uploads\/2013\/11\/Publication-104x150.png 104w, https:\/\/regina-whipp.com\/blog\/wp-content\/uploads\/2013\/11\/Publication-400x575.png 400w\" sizes=\"auto, (max-width: 534px) 100vw, 534px\" \/><p id=\"caption-attachment-867\" class=\"wp-caption-text\">Figure 1<\/p><\/div>\n<\/div>\n<div><\/div>\n<h4><strong>The How&#8230;<\/strong><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-883 size-full\" src=\"http:\/\/regina-whipp.com\/blog\/wp-content\/uploads\/2013\/12\/Continued.png\" alt=\"Continued\" width=\"272\" height=\"229\" srcset=\"https:\/\/regina-whipp.com\/blog\/wp-content\/uploads\/2013\/12\/Continued.png 272w, https:\/\/regina-whipp.com\/blog\/wp-content\/uploads\/2013\/12\/Continued-150x126.png 150w\" sizes=\"auto, (max-width: 272px) 100vw, 272px\" \/><\/h4>\n<div>\n<p>In this example I am using a 3 column report.\u00a0 Fields needed\u00a0are&#8230;<\/p>\n<p>tblArticles<br \/>\n<strong>aTitle<\/strong><br \/>\nControls needed on the report are&#8230;<\/p>\n<p><strong>txtTitle<\/strong>&#8211; Unbound\u00a0 and in the <strong>aTitle Header<\/strong> section<br \/>\n<strong>txtTitleHidden<\/strong> &#8211; Bound to the field in the table that holds the Title, placed in the <strong>aTitle Header<\/strong> section.<\/p>\n<p>Place both controls, <strong>txtTitle<\/strong> and <strong>txtTitleHidden<\/strong> in the <strong>aTitle Header<\/strong> section.\u00a0 Set the <strong>aTitle Header<\/strong> section\u00a0to <strong>Can Grow<\/strong> and <strong>Can Shrink<\/strong> properties to <strong>Yes<\/strong> and set the\u00a0<strong>Repeat Section<\/strong> property to\u00a0<strong>Yes<\/strong>.\u00a0 Then in <strong>aTitle Header On_Format<\/strong> event place&#8230;<\/p>\n<\/div>\n<p>&nbsp;<\/p>\n<div>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #808080;\">Private<\/span> <span style=\"color: #808080;\">Sub GroupHeader1_Format(Cancel As Integer, FormatCount As Integer)<\/span><\/p>\n<pre class=\"brush: vb; title: ; notranslate\" title=\"\">\r\nStatic strLastValue As String\r\n'Posted by Pat Hartman (Access MVP) \u00a0http:\/\/www.access-programmers.co.uk\/forums\/showthread.php?t=57847  on 11.19.2003\r\n'Modified by Gina Whipp 11.13.2013 to change color, size and position when Article is continued\r\n\r\nIf Me.txtTitleHidden = strLastValue Then\r\n   Me.txtTitle.Visible = True\r\n   Me.txtTitle.Properties(&quot;TopMargin&quot;) = 0.05 * 1440\r\n   Me.txtTitle = Me.txtTitleHidden &amp; &quot; ...continued&quot;\r\n   Me.txtTitle.ForeColor = RGB(140, 140, 140)\u00a0 'Grey\r\n   Me.txtTitle.FontSize = 10\r\n   'Author is optional\r\n   'Me.txtAuthor.Visible = False\r\nElse\r\n   Me.txtTitle.Visible = True\r\n   strLastValue = Me.txtTitleHidden\r\n   Me.txtTitle = Me.txtTitleHidden\r\n   Me.txtTitle.ForeColor = RGB(0, 0, 0)\u00a0 'Black\r\n   Me.txtTitle.FontSize = 11\r\n   'Author is optional\r\n   'Me.txtAuthor.Visible = True\r\nEnd If\r\n<\/pre>\n<p><span style=\"color: #808080;\">End Sub<\/span><\/p>\n<\/div>\n<div>All done, you can run your report!<\/div>\n<div class=\"pvc_clear\"><\/div>\n<p id=\"pvc_stats_865\" class=\"pvc_stats all  \" data-element-id=\"865\" style=\"\"><i class=\"pvc-stats-icon medium\" aria-hidden=\"true\"><svg aria-hidden=\"true\" focusable=\"false\" data-prefix=\"far\" data-icon=\"chart-bar\" role=\"img\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 512 512\" class=\"svg-inline--fa fa-chart-bar fa-w-16 fa-2x\"><path fill=\"currentColor\" d=\"M396.8 352h22.4c6.4 0 12.8-6.4 12.8-12.8V108.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v230.4c0 6.4 6.4 12.8 12.8 12.8zm-192 0h22.4c6.4 0 12.8-6.4 12.8-12.8V140.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v198.4c0 6.4 6.4 12.8 12.8 12.8zm96 0h22.4c6.4 0 12.8-6.4 12.8-12.8V204.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v134.4c0 6.4 6.4 12.8 12.8 12.8zM496 400H48V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v336c0 17.67 14.33 32 32 32h464c8.84 0 16-7.16 16-16v-16c0-8.84-7.16-16-16-16zm-387.2-48h22.4c6.4 0 12.8-6.4 12.8-12.8v-70.4c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v70.4c0 6.4 6.4 12.8 12.8 12.8z\" class=\"\"><\/path><\/svg><\/i> <img loading=\"lazy\" decoding=\"async\" width=\"16\" height=\"16\" alt=\"Loading\" src=\"https:\/\/regina-whipp.com\/blog\/wp-content\/plugins\/page-views-count\/ajax-loader-2x.gif\" border=0 \/><\/p>\n<div class=\"pvc_clear\"><\/div>\n","protected":false},"excerpt":{"rendered":"<p>After seeing a post in a Forum asking about how to add the word *continued&#8230;* to a Multicolumn Report I thought it would be fun to create a sample database showing off the feature, to download click here (Access 2007 or above needed and an unzipping program. Images are not included!). And, of course, like [&#8230;]<\/p>\n<div class=\"pvc_clear\"><\/div>\n<p id=\"pvc_stats_865\" class=\"pvc_stats all  \" data-element-id=\"865\" style=\"\"><i class=\"pvc-stats-icon medium\" aria-hidden=\"true\"><svg aria-hidden=\"true\" focusable=\"false\" data-prefix=\"far\" data-icon=\"chart-bar\" role=\"img\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 512 512\" class=\"svg-inline--fa fa-chart-bar fa-w-16 fa-2x\"><path fill=\"currentColor\" d=\"M396.8 352h22.4c6.4 0 12.8-6.4 12.8-12.8V108.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v230.4c0 6.4 6.4 12.8 12.8 12.8zm-192 0h22.4c6.4 0 12.8-6.4 12.8-12.8V140.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v198.4c0 6.4 6.4 12.8 12.8 12.8zm96 0h22.4c6.4 0 12.8-6.4 12.8-12.8V204.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v134.4c0 6.4 6.4 12.8 12.8 12.8zM496 400H48V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v336c0 17.67 14.33 32 32 32h464c8.84 0 16-7.16 16-16v-16c0-8.84-7.16-16-16-16zm-387.2-48h22.4c6.4 0 12.8-6.4 12.8-12.8v-70.4c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v70.4c0 6.4 6.4 12.8 12.8 12.8z\" class=\"\"><\/path><\/svg><\/i> <img loading=\"lazy\" decoding=\"async\" width=\"16\" height=\"16\" alt=\"Loading\" src=\"https:\/\/regina-whipp.com\/blog\/wp-content\/plugins\/page-views-count\/ajax-loader-2x.gif\" border=0 \/><\/p>\n<div class=\"pvc_clear\"><\/div>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,63],"tags":[18,46,47,30],"class_list":["post-865","post","type-post","status-publish","format-standard","hentry","category-access-tips","category-database-design","tag-database-design","tag-image-handling","tag-multicolumn-report","tag-reports","odd"],"_links":{"self":[{"href":"https:\/\/regina-whipp.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/865","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/regina-whipp.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/regina-whipp.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/regina-whipp.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/regina-whipp.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=865"}],"version-history":[{"count":14,"href":"https:\/\/regina-whipp.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/865\/revisions"}],"predecessor-version":[{"id":1286,"href":"https:\/\/regina-whipp.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/865\/revisions\/1286"}],"wp:attachment":[{"href":"https:\/\/regina-whipp.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=865"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/regina-whipp.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=865"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/regina-whipp.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=865"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}