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
SAS Super FREQ
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
SAS Super FREQ
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
SAS Super FREQ
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

sas-innovate-2024.png

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.

 

Register now!

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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