Is there a simple way to create a spanning underline in a report that would allow me to still take advantage of a headskip effect? I tried using Rules = Groups in the proc template but the RTF method I used to simulate headskip was placing the headskip line above the spanning underline.
To better illustrate, the traditional code would be:
proc report data=x headskip nowd split='^';
column ('^__' name age weight);
Currently I am doing this to replicate in RTF:
proc report data=final nowindows center missing
columns name age weight;
Thanks for the reply. Journal does create the spanning underline in the column heading but it's still not allowing the RTF headskip effect ( "style(header)=[cellheight=0.5in vjust=top]")
to work underneath the underline. The headskip line is occuring above the spanning underline with journal.
Basically the effect I'm trying to achieve in traditional code is:
proc report data=x nowd headskip split='^';
columns ('^__' name age weight);
define . . .
So far the journal style nor setting Rules=Groups does not do this.
RULES=GROUPS only has to do with the type of interior table lines you see. It has nothing to do with space between the column header area and the first report row.
HEADSKIP (and HEADLINE) were designed for the LISTING or OUTPUT window and are only valid for use in that LISTING destination. RTF, in concept, has NOTHING like HEADSKIP. You could investigate a COMPUTE BEFORE _PAGE_ or a COMPUTE BEFORE <grpvar> in order to write a blank line using the LINE statement -- but short of using either CELLHEIGHT or HEIGHT or WRITING a blank line with a LINE statement or using some kind of native (raw) RTF control string, you don't have many other choices. HEADSKIP is just ignored by RTF. The underlying framework of RTF files is completely different from the type of ASCII text file written for the LISTING destination.
You might work with Tech Support on this question, but your choices are limited to what you can do with RTF output. If HEIGHT or CELLHEIGHT is not working as you expect, this too is something that you should pursue with Tech Support.