<?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 Conditional Borders in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-Report-Conditional-Borders/m-p/549255#M22626</link>
    <description>&lt;P&gt;Thanks for the response. You are right about the order variable. It's actually correct in my real data, but I made a mistake with that example data. The example data should be:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;data example;
	input Patient Order Location $ Day Symptom ;
datalines;
1 1 Hand 1 0
1 1 Hand 2 0
1 1 Hand 3 1
2 1 Hand 1 1
2 1 Hand 3 1
3 2 Foot 1 0
3 2 Foot 2 0
3 2 Foot 3 0
4 2 Foot 1 1
4 2 Foot 2 0
;
run;&lt;/PRE&gt;&lt;P&gt;I am able to add a line break as suggested. That produces a line break and the desired border in the HTML output in the results viewer, but only the line break (not the border) in the RTF output.&lt;/P&gt;</description>
    <pubDate>Mon, 08 Apr 2019 13:27:39 GMT</pubDate>
    <dc:creator>Martha</dc:creator>
    <dc:date>2019-04-08T13:27:39Z</dc:date>
    <item>
      <title>Proc Report Conditional Borders</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-Report-Conditional-Borders/m-p/387782#M19058</link>
      <description>&lt;P&gt;Hi! I was hoping someone could help me out with figuring out how to add a border only to the last row where panel = 1, panel =2 and panel =3.&lt;/P&gt;&lt;P&gt;The data loks something like this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;panel&amp;nbsp;&amp;nbsp; job&amp;nbsp; case&lt;/P&gt;&lt;P&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;doctor&amp;nbsp;&amp;nbsp;&amp;nbsp; x&lt;/P&gt;&lt;P&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; nurse&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;x&lt;/P&gt;&lt;P&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; doctor&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;y&lt;/P&gt;&lt;P&gt;2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; doctor&amp;nbsp;&amp;nbsp; &amp;nbsp;z&lt;/P&gt;&lt;P&gt;2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; stats&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;x&lt;/P&gt;&lt;P&gt;2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; stats&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;z&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is what my code looks like now, however, there is a line that shows after every row where panel=1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;ods&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;listing&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;close&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;ods&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;escapechar&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; = &lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;'^'&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;ods&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;noproctitle&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;options&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;nodate&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;number&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;footnote&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;ODS&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;RTF&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;FILE&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; = &lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;'C:\Desktop\out.rtf'&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;author&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; = &lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;'NN'&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;title&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; = &lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;XX&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;bodytitle&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;startpage&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; = &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;no&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;style&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; =sasdocprinter; &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;options&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;papersize&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; = legal&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;papersize&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; = legal&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;leftmargin&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; = &lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;1&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt;in&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;rightmargin&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; = &lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;1&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt;in&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;orientation&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; = portrait; &lt;/FONT&gt;&lt;FONT color="#008000" face="Courier New" size="2"&gt;/*landscape*/&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;title1&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;font&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; = &lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;'Times New Roman'&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;height&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; = &lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;11&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;pt&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;justify&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; = &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;center&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;underlin&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; = &lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;0&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;color&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; = black &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;bcolor&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; = white &lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;'Table 3: Outiers using Non-Transformed Data'&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;footnote1&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;font&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; = &lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;'Times New Roman'&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;height&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; = &lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;11&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;pt&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;justify&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; = &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;center&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;underlin&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; = &lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;0&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;color&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; = black &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;bcolor&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; = white &lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;'XXX.'&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;　&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;report&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;data&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; = perm.outliers &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;nowindows&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;headline&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;headskip&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;missing&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;center&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;style&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;(report)=[cellspacing=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;2&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt; borderwidth=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;2&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt; bordercolor=black]&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;style&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;(header) = {font_weight = light font_face = &lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;'Times New Roman'&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; font_size = &lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;11&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt;pt just = &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;center&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; cellheight=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;.4&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt;in }&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;style&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;(column) = {font_face = &lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;'Times New Roman'&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; font_size = &lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;11&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt;pt just = &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;center&lt;/FONT&gt; &lt;FONT color="#008000" face="Courier New" size="2"&gt;/*asis = on*/&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; cellheight=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;.22&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt;in};&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;column&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; panel&amp;nbsp;job case ;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;define&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; panel / &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;display&lt;/FONT&gt; &lt;FONT color="#008000" face="Courier New" size="2"&gt;/*order group*/&lt;/FONT&gt; &lt;FONT color="#800080" face="Courier New" size="2"&gt;' /Panel'&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;center&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;style&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=[cellwidth=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;15&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt;mm] ;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;define&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&amp;nbsp;job / &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;display&lt;/FONT&gt; &lt;FONT color="#800080" face="Courier New" size="2"&gt;' /Job'&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;center&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;style&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=[cellwidth=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;20&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt;mm];&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;define&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; case / &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;display&lt;/FONT&gt; &lt;FONT color="#800080" face="Courier New" size="2"&gt;' /Case'&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;center&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;style&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=[cellwidth=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;15&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt;mm];&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;compute&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; panel ;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;if&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; panel=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;1&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;call&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;define&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;(_row_,&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;'style'&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;, &lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;'style=[foreground=black background=white borderbottomcolor=black borderbottomwidth=3]'&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;);&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;endcomp&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;　&lt;/P&gt;&lt;P&gt;　&lt;/P&gt;&lt;P&gt;　&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;endcomp&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;ods&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;rtf&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;close&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Aug 2017 14:27:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-Report-Conditional-Borders/m-p/387782#M19058</guid>
      <dc:creator>nirali514</dc:creator>
      <dc:date>2017-08-14T14:27:27Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Report Conditional Borders</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-Report-Conditional-Borders/m-p/388035#M19061</link>
      <description>Hi:&lt;BR /&gt;  I am not sure you can set the borders conditionally or whether the destination makes a difference. This would be a better question to ask of Tech Support.&lt;BR /&gt; &lt;BR /&gt;cynthia</description>
      <pubDate>Tue, 15 Aug 2017 01:22:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-Report-Conditional-Borders/m-p/388035#M19061</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2017-08-15T01:22:42Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Report Conditional Borders</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-Report-Conditional-Borders/m-p/388105#M19062</link>
      <description>&lt;P&gt;Thank you Cynthia!&lt;/P&gt;</description>
      <pubDate>Tue, 15 Aug 2017 11:31:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-Report-Conditional-Borders/m-p/388105#M19062</guid>
      <dc:creator>nirali514</dc:creator>
      <dc:date>2017-08-15T11:31:17Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Report Conditional Borders</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-Report-Conditional-Borders/m-p/548660#M22622</link>
      <description>&lt;P&gt;I realize that this question was originally posted some time ago, but did you ever get an answer? I am having this exact problem. I am outputting to RTF and I think the proc report border options are limited for that destination.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2019 21:45:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-Report-Conditional-Borders/m-p/548660#M22622</guid>
      <dc:creator>Martha</dc:creator>
      <dc:date>2019-04-04T21:45:59Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Report Conditional Borders</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-Report-Conditional-Borders/m-p/548672#M22623</link>
      <description>I did! What’s your problem exactly? And what would you like to see?&lt;BR /&gt;</description>
      <pubDate>Thu, 04 Apr 2019 23:07:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-Report-Conditional-Borders/m-p/548672#M22623</guid>
      <dc:creator>nirali514</dc:creator>
      <dc:date>2019-04-04T23:07:18Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Report Conditional Borders</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-Report-Conditional-Borders/m-p/548969#M22624</link>
      <description>&lt;P&gt;I think it's nearly identical to the originally posted issue. I have grouped data and I want to add a solid border separating the groups.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is what my code is doing (please ignore the lack of a legend and other problems, this is just for an example):&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Output 1.png" style="width: 242px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/28512i89F86D07390BFEB5/image-size/large?v=v2&amp;amp;px=999" role="button" title="Output 1.png" alt="Output 1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Here is what I want it to do (with the line separating hand and foot):&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Desired Output.png" style="width: 304px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/28514i1EA91CFBD9D5CE32/image-size/large?v=v2&amp;amp;px=999" role="button" title="Desired Output.png" alt="Desired Output.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sample code is as follows:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc format ;
	value $ outfmt  /* Format outcomes */
		"0" = "c"
		"1" = "g";
run;

data example;
	input Patient Order Location $ Day Symptom ;
datalines;
1 1 Hand 1 0
1 1 Hand 2 0
1 1 Hand 3 1
2 1 Hand 1 1
2 1 Hand 3 1
3 1 Foot 1 0
3 1 Foot 2 0
3 1 Foot 3 0
4 1 Foot 1 1
4 1 Foot 2 0
;
run;


/* Table attempt */
 ods rtf file="&amp;amp;outpath.\demo.rtf"  style=minimal ;
 OPTIONS ORIENTATION=PORTRAIT MISSING = "";

 	proc report nowindows data=example split="`" 
		style=[frame=hsides rules=groups ] 
		style(header lines column)=[font_face="times new roman" font_size=11 pt]; 
 		column Order Patient ("Location" Location) Day, Symptom; 
 		define Order / group noprint order=data ;
		 define Patient / group noprint  ;

		 define Location /  group " " ;
		 define Day / across "Day" 	 order = internal  ; 
		 define Symptom / 	format= $outfmt. group " " STYLE(COLUMN) = {JUST = C CellWidth=6% font_face="webdings"};

		 /*This is what I'm trying that doesn't work */
		 compute after Order / style={BORDERBOTTOMCOLOR = black}	;
		 endcomp;

 run;

 ods rtf close; &lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 05 Apr 2019 21:18:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-Report-Conditional-Borders/m-p/548969#M22624</guid>
      <dc:creator>Martha</dc:creator>
      <dc:date>2019-04-05T21:18:10Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Report Conditional Borders</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-Report-Conditional-Borders/m-p/548999#M22625</link>
      <description>&lt;P&gt;Hi:&lt;BR /&gt;I'm not sure that you'll get a break where you want it because ORDER is 1 for every row in your data. I would have expected you to have ORDER=1 for all the HAND rows and ORDER=2 for all the FOOT rows. OR something like that. Right now, with just ORDER=1, the only break will be at the bottom and you already have a line there from HSIDES.&lt;/P&gt;
&lt;P&gt;I also think you'll at least need:&lt;BR /&gt;line ' ';&lt;BR /&gt;inside the compute block for any action to take place. The compute block will only use the style for any written inside the compute block.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cynthia&lt;/P&gt;</description>
      <pubDate>Fri, 05 Apr 2019 23:22:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-Report-Conditional-Borders/m-p/548999#M22625</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2019-04-05T23:22:52Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Report Conditional Borders</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-Report-Conditional-Borders/m-p/549255#M22626</link>
      <description>&lt;P&gt;Thanks for the response. You are right about the order variable. It's actually correct in my real data, but I made a mistake with that example data. The example data should be:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;data example;
	input Patient Order Location $ Day Symptom ;
datalines;
1 1 Hand 1 0
1 1 Hand 2 0
1 1 Hand 3 1
2 1 Hand 1 1
2 1 Hand 3 1
3 2 Foot 1 0
3 2 Foot 2 0
3 2 Foot 3 0
4 2 Foot 1 1
4 2 Foot 2 0
;
run;&lt;/PRE&gt;&lt;P&gt;I am able to add a line break as suggested. That produces a line break and the desired border in the HTML output in the results viewer, but only the line break (not the border) in the RTF output.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Apr 2019 13:27:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-Report-Conditional-Borders/m-p/549255#M22626</guid>
      <dc:creator>Martha</dc:creator>
      <dc:date>2019-04-08T13:27:39Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Report Conditional Borders</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-Report-Conditional-Borders/m-p/549333#M22627</link>
      <description>&lt;P&gt;Hi:&lt;/P&gt;
&lt;P&gt;This works for me in RTF -- running SAS 9.4 M5:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="border_divide.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/28530i5942D94C88FC784E/image-size/large?v=v2&amp;amp;px=999" role="button" title="border_divide.png" alt="border_divide.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Perhaps you just need a blank LINE statement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In my code, since you quoted the values for Symptom in the format, I made the INPUT statement character and the format character in the DEFINE Statement. I changed the style to JOURNAL instead of MINIMAL and did a explicit border width of 3px.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Anyway, hope this helps,&lt;/P&gt;
&lt;P&gt;Cynthia&lt;/P&gt;</description>
      <pubDate>Mon, 08 Apr 2019 18:58:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-Report-Conditional-Borders/m-p/549333#M22627</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2019-04-08T18:58:03Z</dc:date>
    </item>
  </channel>
</rss>

