<?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 underline after last row of each page in proc report in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/underline-after-last-row-of-each-page-in-proc-report/m-p/879669#M26305</link>
    <description>&lt;P&gt;Hi:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; I wonder if there is an easy way to underline last row of each page in proc report? The code below print horizontal lines for the whole table&lt;/P&gt;
&lt;PRE&gt;ods rtf file='test.rtf';
title 'Air travel';&lt;BR /&gt;footnote 'my footnote';
proc report data=test nowd style(report)=[rules=none frame=hsides] 
style(header)=[background=white borderbottomcolor=black borderbottomwidth=2];
column date air;
define date/order;
run;
ods rtf close;&lt;/PRE&gt;
&lt;P&gt;How can I (automatically) underline last row of each page as below?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Peter_Y_0-1686176915529.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/84812i051F47E2BB5D38D8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Peter_Y_0-1686176915529.png" alt="Peter_Y_0-1686176915529.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 07 Jun 2023 22:30:35 GMT</pubDate>
    <dc:creator>Peter_Y</dc:creator>
    <dc:date>2023-06-07T22:30:35Z</dc:date>
    <item>
      <title>underline after last row of each page in proc report</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/underline-after-last-row-of-each-page-in-proc-report/m-p/879669#M26305</link>
      <description>&lt;P&gt;Hi:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; I wonder if there is an easy way to underline last row of each page in proc report? The code below print horizontal lines for the whole table&lt;/P&gt;
&lt;PRE&gt;ods rtf file='test.rtf';
title 'Air travel';&lt;BR /&gt;footnote 'my footnote';
proc report data=test nowd style(report)=[rules=none frame=hsides] 
style(header)=[background=white borderbottomcolor=black borderbottomwidth=2];
column date air;
define date/order;
run;
ods rtf close;&lt;/PRE&gt;
&lt;P&gt;How can I (automatically) underline last row of each page as below?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Peter_Y_0-1686176915529.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/84812i051F47E2BB5D38D8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Peter_Y_0-1686176915529.png" alt="Peter_Y_0-1686176915529.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jun 2023 22:30:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/underline-after-last-row-of-each-page-in-proc-report/m-p/879669#M26305</guid>
      <dc:creator>Peter_Y</dc:creator>
      <dc:date>2023-06-07T22:30:35Z</dc:date>
    </item>
    <item>
      <title>Re: underline after last row of each page in proc report</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/underline-after-last-row-of-each-page-in-proc-report/m-p/879677#M26306</link>
      <description>&lt;P&gt;Hi: If you want a line that goes from margin to margin just above the footnote, then you need to do that in the FOOTNOTE statement. Style overrides in PROC REPORT on the style(report) location only impact the TABLE, so the line will be from one side of the table to the other -- not from margin to margin.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Here's how I put a line above the footnote:&lt;/P&gt;
&lt;P&gt;Original ODS ESCAPECHAR method with RTF control strings:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Cynthia_sas_1-1686183912972.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/84814i583ABDD80E131972/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Cynthia_sas_1-1686183912972.png" alt="Cynthia_sas_1-1686183912972.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;New ODS ESCAPECHAR method with style attribute overrides:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Cynthia_sas_0-1686183885920.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/84813i0BFFAE9BFA9B1447/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Cynthia_sas_0-1686183885920.png" alt="Cynthia_sas_0-1686183885920.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; I prefer to test with STYLE=JOURNAL if I want the interior tables lines to be suppressed and to have a white background to the headers. Maybe one of these methods will work for you.&lt;/P&gt;
&lt;P&gt;Cynthia&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jun 2023 00:26:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/underline-after-last-row-of-each-page-in-proc-report/m-p/879677#M26306</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2023-06-08T00:26:13Z</dc:date>
    </item>
    <item>
      <title>Re: underline after last row of each page in proc report</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/underline-after-last-row-of-each-page-in-proc-report/m-p/879732#M26307</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;/*You want this?*/
data have;
 set sashelp.shoes ;
 if mod(_n_,30)=1 then page+1;  /*each page have 20 rows*/
run;

ods rtf file='c:\temp\test.rtf' style=journal;
title 'Air travel';
footnote 'my footnote';
proc report data=have nowd ;
define page/group noprint;
break after page/page;
run;
ods rtf close;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ksharp_0-1686224567078.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/84821iEDA9A277ED2A164A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ksharp_0-1686224567078.png" alt="Ksharp_0-1686224567078.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jun 2023 11:42:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/underline-after-last-row-of-each-page-in-proc-report/m-p/879732#M26307</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2023-06-08T11:42:53Z</dc:date>
    </item>
  </channel>
</rss>

