Announcement

Collapse
No announcement yet.

Removing extra header lines

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Removing extra header lines

    Sometimes if you have three variables sharing a column in an under-under situation the RTF output swallows the top solid from the header caused by empty lines above the top column header. See example of RTF output in TestA.doc. See also TestA.sas




    Looking at TestA.lst you can see that there are empty lines ABOVE the top column header labels. These should not be there.

    The under-under situation demands that the two variable labels under the top variable be blank. If they are not, it could result in making the top variable label length longer then it should be, resulting in the extra empty line on top. RTF can not read that properly, hence the topline is gone.

    To allow the top solid header line to appear correctly in your RTF output you need to look at the labels for the variables under each other and the ones sharing a column.

    The labels for the three variables above should be like this:

    label trtn=”@@i Treatment | Parameter | Location”
    parm=" "
    loc=" ";

    By making the bottom two variable labels blank, the extra lines are removed and the SAS Output will appear as below:




    See also TestB.sas and TestB.doc to view the RTF output.
    Attached Files
    Last edited by Stella Scafidi; 03-11-2010, 03:58 PM.
Working...
X