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-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

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.

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