The SAS Output Delivery System and reporting techniques

Page number in Body part of RTF file

Reply
Contributor
Posts: 60

Page number in Body part of RTF file

Hi,

I am creating the RTF output using ODS RTF, I want to print the title and footnote in the Body part of the RTF file, so i am using Bodytitle option, but i cant able to print the pagenumber in "Page x of y" format in the title.

Please help me to solve this issue.

Thanks
Sudhakar
SAS Super FREQ
Posts: 8,868

Re: Page number in Body part of RTF file

Posted in reply to Sudhakar_A
Hi:
Please refer to the documentation for an explanation of this behavior:
http://support.sas.com/documentation/cdl/en/odsug/61723/HTML/default/a002233270.htm#a003176447

The fix is to NOT use the BODYTITLE option, as it says in the doc:
"You can use the PAGEOF function in the TITLE and FOOTNOTE statements. However, if the BODYTITLE option is also specified with the ODS RTF statement, the "page of" information is not written as expected because the BODYTITLE option removes the titles and footnotes from the header and footer sections of the RTF file. If the desired location of the page numbering is in the title or the footnote, remove the BODYTITLE option."


cynthia
Contributor
Posts: 60

Re: Page number in Body part of RTF file

Posted in reply to Sudhakar_A
Thank you for the effort, But i dont want to put the title and foot note in the Header section of the RTf file because i need to append all the table outputs and i have to create a TOC for that.
Ask a Question
Discussion stats
  • 2 replies
  • 184 views
  • 0 likes
  • 2 in conversation