SUPPORT / SAMPLES & SAS NOTES
 

Support

Sample 35544: How to use the RTF tagset to repeat GROUP or ORDER variable values that span multiple pages

DetailsCodeAboutRate It

The RTF destination does not measure vertically. It sends table instructions to Microsoft Word but leaves much of the pagination up to the word processor. This means that when PROC REPORT uses a GROUP or ORDER variable and the values span more than one page, the value is not repeated at the top of the second and subsequent pages. See SAS Note 7887 for a workaround using the ODS RTF destination.

The new RTF tagset available in SAS 9.2, in conjunction with the new SPANROWS option on the PROC REPORT statement, provides a way to repeat the value of a GROUP or ORDER variable if that variable's value spans more than one page.

The SPANROWS option is described here.

The UNIFORM option for the RTF tagset is described here.




These sample files and code examples are provided by SAS Institute Inc. "as is" without warranty of any kind, either express or implied, including but not limited to the implied warranties of merchantability and fitness for a particular purpose. Recipients acknowledge and agree that SAS Institute shall not be liable for any damages whatsoever arising out of their use of this material. In addition, SAS Institute will provide no support for the materials contained herein.