BookmarkSubscribeRSS Feed
jwjw
Calcite | Level 5

I'm looking to have a table header where the text " (Continued)" is appended to the table header that repeats on all pages except for the first page.  See the sample code below.  On the first page, I expect the table header to be "Car Information" and on subsequent pages, I want the (repeated) table header to be "Car Information (Continued)".

 

I'm using ODS to create an RTF file and I'm using SAS 9.4.

There will be some other content that appears before the table, so the table may not always start on page 1 (it might start on page 3 and span several pages).

For now, the table header I'm referring to is actually a spanned column header.  If this needs to be done differently, that is OK as long as the same look can be achieved.

 

proc report data=sashelp.cars nowindows style(report)={width=100%} split="~";
  column ('Car Information' make model type origin);
  define make / display 'Make';
  define model / display 'Model' ;
  define type / display 'Type';
  define origin / display 'Origin';
run;
1 REPLY 1
Ksharp
Super User
ods tagsets.rtf file='c:\temp\temp.rtf';
title;
proc report data=sashelp.cars nowindows style(report)={width=100%} split="~";
  column ('Car Information' make model type origin);
  define make / display 'Make';
  define model / display 'Model' ;
  define type / display 'Type';
  define origin / display 'Origin';
run;
ods tagsets.rtf close;

Ksharp_0-1668772270425.png

 

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

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
  • 1 reply
  • 965 views
  • 0 likes
  • 2 in conversation