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.

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

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
  • 1055 views
  • 0 likes
  • 3 in conversation