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-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

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
  • 2 replies
  • 746 views
  • 0 likes
  • 2 in conversation