BookmarkSubscribeRSS Feed
sascode
Quartz | Level 8

Hello,
I am running a proc report in pdf with 2 footnotes which generates 3 pdf pages.

on of the footnotes(footnote1) is just saying: "Look to the next page"

In the last pdf page i need to turn it off because it tis the last one.

So my question is :
How we can make the footnote1 to appear and disappear based on pdf page numbers?

Thank you. 

3 REPLIES 3
ballardw
Super User

Please include at least the code you are currently using.

 

Footnotes generally don't change in the middle of a procedure if using FOOTNOTE statements. If using one of the other possible approaches we need to see what you actually are attempting.

 

Do you have a variable, or combination thereof, that controls where your table creates a page break?

s_lassen
Meteorite | Level 14

How we can make the footnote1 to appear and disappear based on pdf page numbers?

I don't think you can. What you can do is this:

ods escapechar='^';

Footnote '^{pageof}';

which should give you a footnote like 'Page 3 of 7'.

 

This should work in destinations like RTF and PDF, but not in the normal listing destination.

sascode
Quartz | Level 8
Yes, i wanted something different,
Thank you for your suggestion.

sas-innovate-wordmark-2025-midnight.png

Register Today!

Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.


Register now!

How to Concatenate Values

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.

SAS Training: Just a Click Away

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

Browse our catalog!

Discussion stats
  • 3 replies
  • 733 views
  • 0 likes
  • 3 in conversation