BookmarkSubscribeRSS Feed
deleted_user
Not applicable
Hello,
I am working on a report with tables that need:
1)to have a solid line under the table header
2)to have a solid line over the last row of the table

I am writing to RTF.
I have accomplished #1 but need assistance with #2.
How do I make changes to a user-specified table row?
Thanks.
2 REPLIES 2
wayne_sas
SAS Employee
I might be able to help, depending on how the table is being created. There are some non production rtf options that mgiht help, if the table is created with a "footer" section. that will depend on the proc being used.

If the table row is part of the body of the table, it gets very difficult.

ods rtf headerrulestyle="double" footerrulestyle="dotted" ;

is the syntax, but you may need to apply a style to get the effect you want.

My name is Wayne hester, feel free to e-mail at SAS on this if you need assistance.
deleted_user
Not applicable
Hi Wayne,
I am using proc report to create the tables.
The table row is part of the body of the table.
I found some code from a SAS paper that uses the call define in a compute block and RTF tags to get the desired effect for the line under the second to last row of the table. Of course, it would be great to find a more efficient option that is easier to code. Perhaps in future SAS versions?

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 926 views
  • 0 likes
  • 2 in conversation