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-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

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