BookmarkSubscribeRSS Feed
deleted_user
Not applicable
Hi,
I'm outputting to RTF using ODS (in SAS 9.1.3).
In PROC TEMPLATE, I can add borders to both headers AND footers by modifying "SysTitleAndFooterContainer from Container".

However, how do I place a border on the FOOTER ONLY?

Thanks.
1 REPLY 1
deleted_user
Not applicable
I believe the code is acting poorly.

It considers all the titles as rows in a single table and all the footnotes as rows in a single table. The Rules and Frame apply to the whole table and not separate rows. The table attributes are being applied with the generic titles and footers style while the separate rows use the specific styles associated with them.

You may want to contact SAS Technical Support at :
support@sas.com
or on the web at :
http://support.sas.com/techsup/contact/submit_emits2.html

If you only have one title, you could get some relief with the following code.

proc template;
define style test;
parent=styles.rtf;
Style SYSTitleAndFOOTERContainer from SYSTitleAndFOOTERContainer /
rules=rows BorderWidth=5pt bordercolor=red borderstyle=double
;
;
end;
run;

ods rtf file="test.rtf" style=test ;

Title "Test Title" ;
Footnote1 " " ;
Footnote2 "Test Footnote" ;
Footnote3 " " ;

proc print data=sashelp.class (obs=1) ; run;

ods _all_ close ;

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 1 reply
  • 841 views
  • 0 likes
  • 1 in conversation