全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 SAS专版
2245 0
2016-10-03
数据集:
data lines;
input section column1$ column2$ column3$ column4$ column5$;
return;
cards;
1 A B C D E
1 A B C D E
1 A B C D E
1 B C D E F
1 B C D E F
1 C D E F G
2 C D E F G
;
run;

运行下面的code产生表格
ods listing close;
ods rtf file = "D:\from desk\example_lines.rtf" style=journal;
proc report data=lines NOWINDOWS
     STYLE(report)=[frame=box rules=cols]
     style(header)={borderbottomwidth=2pt borderbottomcolor=black};
title '3) Using border lines as a divider';
column section column1 column2 column3 column4 column5;
define section / order order=data noprint;
define column1 / "Column 1";
define column2 /  "Column 2";
define column3 /  "Column 3";
define column4 /  "Column 4";
define column5 /  "Column 5";
compute after section /
        style={height=1px bordertopcolor=black borderbottomcolor=black cellpadding=0
               bordertopstyle=solid borderbottomstyle=solid
               bordertopwidth=2pt borderbottomwidth=2pt};
  line ' ';
endcomp;
run;
ods _all_ close;
fig1.jpg
如果只需在section 1后面产生双线,不需要section 2后面的双线(最后的双线), 应该怎样修改code? 谢谢!


二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群