|
Hello James,
You could do that by doing a little bit manipulation in the datastep. You need to add a split character(#n) in the datastep.
test code:
data test;
* add the split character that will be splitted in proc report;
var1='word1'||'#n'||'word2' ;
run;
ods escapechar='#';
ods listing close;
ods rtf body="c:\temp\test.rtf";
* off the option protectspecialchars;
proc report data=test headline headskip nowd spacing=1 missing split='|'
style(header)={protectspecialchars=off};
run;
ods rtf close;
ods listing;
HTH,
Ramesh Makkena
-----Original Message-----
From: James Lukenbill [mailto:James.Lukenbill@US.CHILTERN.COM]
Sent: Wednesday, March 19, 2003 3:41 PM
To: SAS-L@LISTSERV.VT.EDU
Subject: Splitting ODS RTF Proc Report Output
Hi all,
Is there a way to get ODS Proc report output to split within the body of
the table and not just the header?
What we have is the following: assume split = '~'
obs1 = 1 (27 %)~111~213~123
we want this to print out like this
1 (27)
111
213
123
It works when outputting to text, but fails to split when outputting to
RTF.
Thanks in advance!
James Lukenbill
|