BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
DonH
Lapis Lazuli | Level 10
Am using proc report and my user has asked about a feature I thought I saw somewhere online. But I can't seem to find it now that I am actually looking for it.

The issue is to show group/order values on the first row of a new page when the group extends to a second page. I seem to recall an example doing it with temp/data step variables in a compute block.

Is this possible?
1 ACCEPTED SOLUTION

Accepted Solutions
Cynthia_sas
Diamond | Level 26
Hi, Don:
Have you tried SPANROWS??? New in 9.2???
http://support.sas.com/kb/35/544.html described here for ODS RTF -- I think it also works for ODS PDF.

cynthia

View solution in original post

3 REPLIES 3
Cynthia_sas
Diamond | Level 26
Hi, Don:
Have you tried SPANROWS??? New in 9.2???
http://support.sas.com/kb/35/544.html described here for ODS RTF -- I think it also works for ODS PDF.

cynthia
DonH
Lapis Lazuli | Level 10
Thanks Cynthia. Just tested it and it seems to work for a single group variable. More testing to do, but looks good so far. Thx for the pointer.

Now if only I can get it to say continued or something like that on the sucessive pages. That would be the icing on the cake. I tried a few things using temp vars and posttext, but could not get it to work. Do you have any ideas/suggestions?
Cynthia_sas
Diamond | Level 26
Ah, if you switched to TAGSETS.RTF, you CAN get "continued" when a table breaks across a page. Which is pretty cool...but I don't think it works for PDF -- it's built into the RTF tags.

It's probably too much trouble to build the RTF and then distill the RTF to PDF.

cynthia

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 3 replies
  • 2145 views
  • 0 likes
  • 2 in conversation