Good morning,
Is there a way to combine the goodness of ODS TAGSETS.RTF, in that it allows us to use the SPANROWS option of PROC REPORT, while being able to put the SAS titles and foonotes in the header and footer sections of the document (like ODS RTF does)? Having the footnote in the body of the document, as opposed to the footer section, means that the footnote will be placed immediately after the table is cut or ends on each page. This will not be a problem for most pages except for the last one, where the remaining portion of the table will often not take up the same space as on previous pages. I know the perfect solution would be to use ODS PDF which takes care of both of these issues, but that is not an option for us.
I'm not sure if this would be feasible, but I was thinking of passing raw RTF specification for a footer through SAS. However, I don't know if that would work and if so, where it should be placed (my knowledge of RTF is somewhat limited).
The end result I'm trying to accomplish in RTF would look like what the following code, taken from
http://www.sascommunity.org/wiki/Tips:Using_SPANROWS_To_Repeat_Values_Across_Pages
and created by Art Carpenter, produces (with slight modification to add title and footnote statements:
data class30;
set sashelp.class;
do check = 1 to 30;
output;
end;
run;
ods pdf file ='class30.pdf';
title "Title goes here";
footnote "Footnote goes here";
proc report data=class30 nowd out=show spanrows;
column age name check sex;
define age /order;
define name / order ;
run;
ods pdf close;
Thank you in advance for your help,
Daniel