<?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 Re: Proc Report  &amp;quot;  '&amp;quot;^R/RTF'\brdrb\brdrs'  &amp;quot; Issues in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Proc-Report-quot-quot-R-RTF-brdrb-brdrs-quot-Issues/m-p/913829#M360136</link>
    <description>&lt;P&gt;Similar to what Ksharp posted, I would consider an alternative, which might be more destination agnostic?&amp;nbsp; I am presenting a macro at PHUSE US Connect 2024 in paper SM04 that covers some of this and how to get adequate spacing between multiple headers of columns headers.&amp;nbsp; Consider:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;`S={ borderbottomcolor = black
     borderbottomwidth = 1pt
     borderleftstyle   = none
     borderrightstyle  = none
   }

column page_order_1
       page_1
       section_order_1
       row_order_1
       row_1
       ( "`S={ borderbottomcolor = black borderbottomwidth = 1pt borderleftstyle = none borderrightstyle = none }Group 1`n(N = 10)"
         col1 
         col2
       )
       null1 
       ( "`S={ borderbottomcolor = black borderbottomwidth = 1pt borderleftstyle = none borderrightstyle = none }Group 2`n(N = 8)" 
         col3 
         col4 
       ) 
       null2 
       ( "`S={ borderbottomcolor = black borderbottomwidth = 1pt borderleftstyle = none borderrightstyle = none }All`n(N = 18)" 
         col5 
         col6
       ) 
       ;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I create the null_ variable using a compute block in REPORT and given them cellwidth = 0.25%.&amp;nbsp; They are missing values and have no borders.&amp;nbsp; A very important point is what TEMPLATE or STYLE overrides you employ.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;HTH,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kevin&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 31 Jan 2024 16:04:53 GMT</pubDate>
    <dc:creator>KevinViel</dc:creator>
    <dc:date>2024-01-31T16:04:53Z</dc:date>
    <item>
      <title>Proc Report  "  '"^R/RTF'\brdrb\brdrs'  " Issues</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Report-quot-quot-R-RTF-brdrb-brdrs-quot-Issues/m-p/776296#M246855</link>
      <description>&lt;P&gt;I am generating the tables using the proc report. I want to get a underline under the one of the 'Treatment' heading, I used this code&amp;nbsp;&amp;nbsp;" '"^R/RTF'\brdrb\brdrs' "&amp;nbsp; in the column section however,&amp;nbsp; it not generating the underline covering the treatments. I need an underline beneath the 'Treatment'&amp;nbsp; covering all the treatments. Can you please suggest what I am doing wrong and other options to achieve it. Thanks.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is the code I used in column section&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;column ("^R/RTF'\brdrb\brdrs '" sort col1 ("^R/RTF'\brdrb\brdrs' Treatment Group" trt1 trt2 trt3 trt4 ) );&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is the output it generating without 'underline' beneath the Treatment header.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SASuserlot_0-1635194889101.png" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/65017i209198B39B3BA5CE/image-size/large?v=v2&amp;amp;px=999" role="button" title="SASuserlot_0-1635194889101.png" alt="SASuserlot_0-1635194889101.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Oct 2021 20:48:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Report-quot-quot-R-RTF-brdrb-brdrs-quot-Issues/m-p/776296#M246855</guid>
      <dc:creator>SASuserlot</dc:creator>
      <dc:date>2021-10-25T20:48:34Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Report  "  '"^R/RTF'\brdrb\brdrs'  " Issues</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Report-quot-quot-R-RTF-brdrb-brdrs-quot-Issues/m-p/776314#M246865</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/350312"&gt;@SASuserlot&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I am generating the tables using the proc report. I want to get a underline under the one of the 'Treatment' heading, I used this code&amp;nbsp;&amp;nbsp;" '"^R/RTF'\brdrb\brdrs' "&amp;nbsp; in the column section however,&amp;nbsp; it not generating the underline covering the treatments. I need an underline beneath the 'Treatment'&amp;nbsp; covering all the treatments. Can you please suggest what I am doing wrong and other options to achieve it. Thanks.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is the code I used in column section&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;column ("^R/RTF'\brdrb\brdrs '" sort col1 ("^R/RTF'\brdrb\brdrs' Treatment Group" trt1 trt2 trt3 trt4 ) );&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is the output it generating without 'underline' beneath the Treatment header.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SASuserlot_0-1635194889101.png" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/65017i209198B39B3BA5CE/image-size/large?v=v2&amp;amp;px=999" role="button" title="SASuserlot_0-1635194889101.png" alt="SASuserlot_0-1635194889101.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Because of the way many options interact in Proc Report it is suggested to &lt;STRONG&gt;always&lt;/STRONG&gt; include the entire procedure code, not just one line. Especially not a line that doesn't work.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You might consider creating a dummy report appearance with a word processor or other program, creating an image of that appearance and sharing that as well. I pretty sure at this time that I do not know where you want "line".&lt;/P&gt;</description>
      <pubDate>Mon, 25 Oct 2021 22:22:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Report-quot-quot-R-RTF-brdrb-brdrs-quot-Issues/m-p/776314#M246865</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2021-10-25T22:22:24Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Report  "  '"^R/RTF'\brdrb\brdrs'  " Issues</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Report-quot-quot-R-RTF-brdrb-brdrs-quot-Issues/m-p/776441#M246949</link>
      <description>&lt;P&gt;Try this one:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods rtf file='c:\temp\temp.rtf' style=journal bodytitle;
proc report data=sashelp.class nowd;
columns name age ("(*ESC*)S={borderbottomcolor=black borderbottomwidth=2}Treatment Group"  weight height);
define name/display;
run;
ods rtf close;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 26 Oct 2021 12:20:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Report-quot-quot-R-RTF-brdrb-brdrs-quot-Issues/m-p/776441#M246949</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2021-10-26T12:20:44Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Report  "  '"^R/RTF'\brdrb\brdrs'  " Issues</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Report-quot-quot-R-RTF-brdrb-brdrs-quot-Issues/m-p/776457#M246957</link>
      <description>&lt;P&gt;Thanks for our response. I will try to post the sample code.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Oct 2021 12:56:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Report-quot-quot-R-RTF-brdrb-brdrs-quot-Issues/m-p/776457#M246957</guid>
      <dc:creator>SASuserlot</dc:creator>
      <dc:date>2021-10-26T12:56:35Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Report  "  '"^R/RTF'\brdrb\brdrs'  " Issues</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Report-quot-quot-R-RTF-brdrb-brdrs-quot-Issues/m-p/776458#M246958</link>
      <description>&lt;P&gt;It worked Ksharp. Thank you very much.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Oct 2021 12:57:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Report-quot-quot-R-RTF-brdrb-brdrs-quot-Issues/m-p/776458#M246958</guid>
      <dc:creator>SASuserlot</dc:creator>
      <dc:date>2021-10-26T12:57:17Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Report  "  '"^R/RTF'\brdrb\brdrs'  " Issues</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Report-quot-quot-R-RTF-brdrb-brdrs-quot-Issues/m-p/822766#M324878</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We need to assign border width for the line you need for that report&lt;/P&gt;&lt;P&gt;'"^R/RTF'\brdrb\brdrs\brdrw' "&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;that W is the width of the border ,give 3 for that "w"&lt;/P&gt;&lt;P&gt;'"^R/RTF'\brdrb\brdrs\brdr3' "&lt;/P&gt;&lt;P&gt;Now it will work.Kindly check and update your comment.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jul 2022 07:15:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Report-quot-quot-R-RTF-brdrb-brdrs-quot-Issues/m-p/822766#M324878</guid>
      <dc:creator>sps_sandy14</dc:creator>
      <dc:date>2022-07-12T07:15:00Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Report  "  '"^R/RTF'\brdrb\brdrs'  " Issues</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Report-quot-quot-R-RTF-brdrb-brdrs-quot-Issues/m-p/913829#M360136</link>
      <description>&lt;P&gt;Similar to what Ksharp posted, I would consider an alternative, which might be more destination agnostic?&amp;nbsp; I am presenting a macro at PHUSE US Connect 2024 in paper SM04 that covers some of this and how to get adequate spacing between multiple headers of columns headers.&amp;nbsp; Consider:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;`S={ borderbottomcolor = black
     borderbottomwidth = 1pt
     borderleftstyle   = none
     borderrightstyle  = none
   }

column page_order_1
       page_1
       section_order_1
       row_order_1
       row_1
       ( "`S={ borderbottomcolor = black borderbottomwidth = 1pt borderleftstyle = none borderrightstyle = none }Group 1`n(N = 10)"
         col1 
         col2
       )
       null1 
       ( "`S={ borderbottomcolor = black borderbottomwidth = 1pt borderleftstyle = none borderrightstyle = none }Group 2`n(N = 8)" 
         col3 
         col4 
       ) 
       null2 
       ( "`S={ borderbottomcolor = black borderbottomwidth = 1pt borderleftstyle = none borderrightstyle = none }All`n(N = 18)" 
         col5 
         col6
       ) 
       ;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I create the null_ variable using a compute block in REPORT and given them cellwidth = 0.25%.&amp;nbsp; They are missing values and have no borders.&amp;nbsp; A very important point is what TEMPLATE or STYLE overrides you employ.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;HTH,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kevin&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jan 2024 16:04:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Report-quot-quot-R-RTF-brdrb-brdrs-quot-Issues/m-p/913829#M360136</guid>
      <dc:creator>KevinViel</dc:creator>
      <dc:date>2024-01-31T16:04:53Z</dc:date>
    </item>
  </channel>
</rss>

