The SAS Output Delivery System and reporting techniques

Proc Report witchcraft? I can add any bottom border color *but not black* (with MWE)

Accepted Solution Solved
Reply
Frequent Contributor
Posts: 96
Accepted Solution

Proc Report witchcraft? I can add any bottom border color *but not black* (with MWE)

[ Edited ]

Here's my minimal working example.  Obviously, I'm looking for a black bottom border.

 

 


ods escapechar = '^';
ods listing close;
ods rtf file='c:\temp\usestyle1.rtf' style=minimal;

proc report data=sashelp.class nowd
style(report)=
[
frame=hsides
rules=groups
cellspacing=0];

column
('^S={just=l borderbottomcolor=purple} Purple bottom border ' age name )
('^S={just=l borderbottomcolor=black} MISSING black border' height weight);

define age / order style(header)={cellwidth=1.25in} 'Laboratory Test';
define name / display style(header)={cellwidth=1.25in} 'The Name';
define height / display style(header)={just=c cellwidth=1.25in} 'height';
define weight / display style(header)={just=c cellwidth=1.25in} 'weight';
run;
ods _all_ close;

 


Accepted Solutions
Solution
‎12-17-2015 01:50 PM
Respected Advisor
Posts: 3,768

Re: Proc Report witchcraft? I can add any bottom border color *but not black* (with MWE)

borderbottomcolor=darkblack

 

Capture.PNG

View solution in original post


All Replies
Grand Advisor
Posts: 9,748

Re: Proc Report witchcraft? I can add any bottom border color *but not black* (with MWE)

Does this do what you want?

style(report)=
 [ 
 frame=hsides 
 rules=groups
 cellspacing=0 borderbottomcolor=black];
Frequent Contributor
Posts: 96

Re: Proc Report witchcraft? I can add any bottom border color *but not black* (with MWE)

Hi Ballardw,

Thanks for replying - didnt work for me!

S.

 

Solution
‎12-17-2015 01:50 PM
Respected Advisor
Posts: 3,768

Re: Proc Report witchcraft? I can add any bottom border color *but not black* (with MWE)

borderbottomcolor=darkblack

 

Capture.PNG

Frequent Contributor
Posts: 96

Re: Proc Report witchcraft? I can add any bottom border color *but not black* (with MWE)

Burn him at the stake!

 

I mean... thanks!!

 

Seriously though, what the hell is darkblack..

 

 

Respected Advisor
Posts: 3,768

Re: Proc Report witchcraft? I can add any bottom border color *but not black* (with MWE)

I hear ya!

It is the color that shows up when BLACK doesn't. :-)
Post a Question
Discussion Stats
  • 5 replies
  • 505 views
  • 2 likes
  • 3 in conversation