Hi:
I want to control the borderstyle in the rtf table. The following figure is my want. But I don't know how to achieve it. Thanks.
proc template;
define style Test / store = SASUSER.TEMPLAT;
parent = styles.printer;
style table from table /
borderbottomstyle = dotted
bordertopstyle = inset
borderstyle = dotted
width = 100%
frame = box;
end;
run;
ods rtf file='D:\temp.rtf' bodytitle style=test;
proc print data=sashelp.class(firstobs=1 obs=5) noobs label;
run;
ods rtf close;
Zhaosi,
This is another element:
proc template;
define style Test / store = SASUSER.TEMPLAT;
parent = styles.printer;
style table from table /
borderbottomstyle = dotted
bordertopstyle = dotted
borderstyle = dotted
width = 100%
frame = box;
style header from header/
borderbottomstyle = inset
bordertopstyle = inset
;
end;
run;
quit;
André
Andre,
Thanks for your element. It's useful. But still cannot solve all my problem. The last line still be dotted. I want it to be inset. Thank you all the same.
tableelements are dotted or with inset
if you set this for table
borderbottomstyle = inset
you see immediately that every bottom line is with inset!
I see no solution
as ods text= will trace eventually a line 1 cm lower!
and footnote would be to lower
André
Uh, I think so. Thanks again.
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.