<?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 Making the last row of the table into a Bold Font  (EG 4) in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Making-the-last-row-of-the-table-into-a-Bold-Font-EG-4/m-p/57700#M5960</link>
    <description>Hi Experts,&lt;BR /&gt;
&lt;BR /&gt;
Is there someone that have tried to insert a code in the list table in EG 4 to make the last row into Bold Font. Is there a code to make this condition?&lt;BR /&gt;
&lt;BR /&gt;
Thanks,&lt;BR /&gt;
sasrac</description>
    <pubDate>Tue, 16 Feb 2010 02:42:13 GMT</pubDate>
    <dc:creator>sasrac</dc:creator>
    <dc:date>2010-02-16T02:42:13Z</dc:date>
    <item>
      <title>Making the last row of the table into a Bold Font  (EG 4)</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Making-the-last-row-of-the-table-into-a-Bold-Font-EG-4/m-p/57700#M5960</link>
      <description>Hi Experts,&lt;BR /&gt;
&lt;BR /&gt;
Is there someone that have tried to insert a code in the list table in EG 4 to make the last row into Bold Font. Is there a code to make this condition?&lt;BR /&gt;
&lt;BR /&gt;
Thanks,&lt;BR /&gt;
sasrac</description>
      <pubDate>Tue, 16 Feb 2010 02:42:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Making-the-last-row-of-the-table-into-a-Bold-Font-EG-4/m-p/57700#M5960</guid>
      <dc:creator>sasrac</dc:creator>
      <dc:date>2010-02-16T02:42:13Z</dc:date>
    </item>
    <item>
      <title>Re: Making the last row of the table into a Bold Font  (EG 4)</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Making-the-last-row-of-the-table-into-a-Bold-Font-EG-4/m-p/57701#M5961</link>
      <description>Hi:&lt;BR /&gt;
  Both PROC PRINT (List Table) and PROC REPORT (List Report) have methods using code changes to highlight different areas on the report. This code method is known as coding a STYLE= override.&lt;BR /&gt;
 &lt;BR /&gt;
  In PROC PRINT, a grand total or sub total line is automatically highlighted and bolded. So I'm not sure what you mean by the "last line"  -- do you mean the last data observation or do you mean a summary line???&lt;BR /&gt;
 &lt;BR /&gt;
  In PROC REPORT, on the other hand, the summary line at the grand total or sub total is not automatically highlighted and you can do that yourself using STYLE= overrides.&lt;BR /&gt;
&lt;BR /&gt;
  A simple program is shown below that illustrates the kind of code changes you'd need to do to highlight the last grand total line on a report. If you want to highlight the last entire ROW (as for William), you can only do that with PROC REPORT, using a CALL DEFINE statement in a COMPUTE block.&lt;BR /&gt;
 &lt;BR /&gt;
  To change code in EG, you can preview the code in the Task or Wizard pane and then select INSERT CODE to find the places where you can insert code (or a STYLE= override). Alternately, you can export the code from a task, modify the code in a code node window and then submit the code from a code node window in the Project. (instead of using the Task)&lt;BR /&gt;
 &lt;BR /&gt;
cynthia&lt;BR /&gt;
[pre]&lt;BR /&gt;
ods _all_ close;&lt;BR /&gt;
ods html file='compare_hilite.html' style=egdefault;&lt;BR /&gt;
                     &lt;BR /&gt;
proc print data=sashelp.class&lt;BR /&gt;
  style(grandtotal)={background=pink};&lt;BR /&gt;
  title 'Proc Print';&lt;BR /&gt;
  var name sex age height weight;&lt;BR /&gt;
  sum age height weight ;  &lt;BR /&gt;
run;&lt;BR /&gt;
                               &lt;BR /&gt;
proc report data=sashelp.class nowd&lt;BR /&gt;
  style(summary)={background=pink};&lt;BR /&gt;
  title 'Proc Report';&lt;BR /&gt;
  column name sex age height weight;&lt;BR /&gt;
  rbreak after/ summarize;&lt;BR /&gt;
  compute name;&lt;BR /&gt;
    if name = 'William' then do;&lt;BR /&gt;
       call define(_ROW_,'style',&lt;BR /&gt;
                   'style={font_weight=bold background=yellow}');&lt;BR /&gt;
    end;&lt;BR /&gt;
  endcomp;&lt;BR /&gt;
run;&lt;BR /&gt;
ods html close;&lt;BR /&gt;
                   &lt;BR /&gt;
[/pre]</description>
      <pubDate>Tue, 16 Feb 2010 20:04:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Making-the-last-row-of-the-table-into-a-Bold-Font-EG-4/m-p/57701#M5961</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2010-02-16T20:04:08Z</dc:date>
    </item>
    <item>
      <title>Re: Making the last row of the table into a Bold Font  (EG 4)</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Making-the-last-row-of-the-table-into-a-Bold-Font-EG-4/m-p/57702#M5962</link>
      <description>Hi Cynthia,&lt;BR /&gt;
&lt;BR /&gt;
Thanks for the suggestion.</description>
      <pubDate>Thu, 18 Feb 2010 04:33:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Making-the-last-row-of-the-table-into-a-Bold-Font-EG-4/m-p/57702#M5962</guid>
      <dc:creator>sasrac</dc:creator>
      <dc:date>2010-02-18T04:33:21Z</dc:date>
    </item>
  </channel>
</rss>

