Hi guys! I have a question about creating a line at the bottom of the report using Proc Report.
break after ord1/skip; compute before ord1; line @1 80*" "; endcomp; compute after _page_; line @1 80*"_"; endcomp; run; ods pdf close;
here is my code:
and this table is quite long and has 2 pages, after running this code, I have line in each page at the bottom of table, while I only want one line in the bottom of whole table.
how can I delete the bottom line of page 1 ? thank you.
Try to replace your last compute block by following (removing _page_):
compute after ;
line @1 80*'__';
endcomp;
or just
compute after / style=[bordertopcolor=black bordertopwidth=1pt];
line ' ';
endcomp;
compute after _page_ does likely insert line at the end of every page.
Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.
Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.
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.
Ready to level-up your skills? Choose your own adventure.