<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Proc report - border between colum headers and line statment (ODS Html) in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-report-border-between-colum-headers-and-line-statment-ODS/m-p/114048#M10148</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hello everyone, I have a problem with finding a good way to format a table generated by proc report. My problem is simple but I haven't find a solution:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I generate tables using a macro-program and for 80% of the tables I have found a solution to my borderproblems, the rest are a bit trickier:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use following code-snippet to generate headlines within the table itself for the different number of linegroups a given table has:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; %If %BQUOTE(&amp;amp;Rowgroup1) ne %Str(Given_text) %then %do; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; %If %BQUOTE(&amp;amp;Rowgroup1) ne %Str(Given_text2) %then %do;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Compute before Rowgroup1/ style=[font_weight=bold textalign=left foreground=black ] ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; line @1 Rowgroup1row_head.;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Endcomp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; %End;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; %End;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The format row_head is created using ods_escapchar so when I add a border using compute before in another step, the line I print ends up above the border:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Headline1&lt;/P&gt;&lt;P&gt;Headline2&lt;/P&gt;&lt;P&gt;_________________________________________________________&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Column level headers 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; _________________________________________ &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Column level headers 2.1 Column level headers 2.2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Inline format(header) nr 1&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;(*Here the actual table starts)&lt;/P&gt;&lt;P&gt;1&lt;/P&gt;&lt;P&gt;2&lt;/P&gt;&lt;P&gt;3&lt;/P&gt;&lt;P&gt;4&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;n&lt;/P&gt;&lt;P&gt;__________________________________________________________&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to drop the Inline format(heade) nr 1 below the dotted line, between the values and the dotted line. I will probably have to use escapechar since I for flexibility override most formatting (ie, can't use frame=below in style(header)= at the beginning of the macro)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas? The code is several pages long so I don't post it now, I also realize there a probably several ways to do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regars&lt;/P&gt;&lt;P&gt;Luonas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Nov 2012 08:21:50 GMT</pubDate>
    <dc:creator>Luonas</dc:creator>
    <dc:date>2012-11-01T08:21:50Z</dc:date>
    <item>
      <title>Proc report - border between colum headers and line statment (ODS Html)</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-report-border-between-colum-headers-and-line-statment-ODS/m-p/114048#M10148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hello everyone, I have a problem with finding a good way to format a table generated by proc report. My problem is simple but I haven't find a solution:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I generate tables using a macro-program and for 80% of the tables I have found a solution to my borderproblems, the rest are a bit trickier:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use following code-snippet to generate headlines within the table itself for the different number of linegroups a given table has:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; %If %BQUOTE(&amp;amp;Rowgroup1) ne %Str(Given_text) %then %do; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; %If %BQUOTE(&amp;amp;Rowgroup1) ne %Str(Given_text2) %then %do;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Compute before Rowgroup1/ style=[font_weight=bold textalign=left foreground=black ] ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; line @1 Rowgroup1row_head.;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Endcomp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; %End;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; %End;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The format row_head is created using ods_escapchar so when I add a border using compute before in another step, the line I print ends up above the border:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Headline1&lt;/P&gt;&lt;P&gt;Headline2&lt;/P&gt;&lt;P&gt;_________________________________________________________&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Column level headers 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; _________________________________________ &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Column level headers 2.1 Column level headers 2.2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Inline format(header) nr 1&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;(*Here the actual table starts)&lt;/P&gt;&lt;P&gt;1&lt;/P&gt;&lt;P&gt;2&lt;/P&gt;&lt;P&gt;3&lt;/P&gt;&lt;P&gt;4&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;n&lt;/P&gt;&lt;P&gt;__________________________________________________________&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to drop the Inline format(heade) nr 1 below the dotted line, between the values and the dotted line. I will probably have to use escapechar since I for flexibility override most formatting (ie, can't use frame=below in style(header)= at the beginning of the macro)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas? The code is several pages long so I don't post it now, I also realize there a probably several ways to do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regars&lt;/P&gt;&lt;P&gt;Luonas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Nov 2012 08:21:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-report-border-between-colum-headers-and-line-statment-ODS/m-p/114048#M10148</guid>
      <dc:creator>Luonas</dc:creator>
      <dc:date>2012-11-01T08:21:50Z</dc:date>
    </item>
    <item>
      <title>Re: Proc report - border between colum headers and line statment (ODS Html)</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-report-border-between-colum-headers-and-line-statment-ODS/m-p/114049#M10149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I finally solved it - with a solution that I should have thought of much sooner. I added another column to the data with the same value for every row. Then placed it first in order and used Compute before New_column and with a escapechar line statement adding a frame above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//Luonas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Nov 2012 12:50:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-report-border-between-colum-headers-and-line-statment-ODS/m-p/114049#M10149</guid>
      <dc:creator>Luonas</dc:creator>
      <dc:date>2012-11-01T12:50:15Z</dc:date>
    </item>
  </channel>
</rss>

