Hi - I have a client that requires a 2 part table of contents, something like this:
Table of contents
Header1...............................................................1
Header2...............................................................3
Tables
Header1 Table1...................................................1
Header1 Table2...................................................2
Header2 Table1...................................................3
Is this possible? The code is currently set up with ods rtf text=titles to display the titles that need to be displayed in the report, as well as the TOC. I'm using proc report to display the actual tables. For confidentiality reasons, I can't post the code. I have tried the 'contents' option, but that sorts it in a regular format - i.e.:
Table of contents
Header1...............................................................1
Header1 Table1..............................................1
Header1 Table2..............................................2
Header2...............................................................3
Header2 Table1...............................................3
Unfortunately, they will not accept that format. TIA for the help!
Have you tried creating two separate RTF documents each with a table of contents and then combining them using your word processing program?
I suspect there will be a limitation based on the word processing program and you may be stuck with using word processor tools to build the appropriated TOC's such as https://answers.microsoft.com/en-us/msoffice/forum/all/table-of-contents-2-table-of-contents-in-one/...
Search Google for "Multiple tables of content in Word" to get multiple pages.
Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!
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.
Ready to level-up your skills? Choose your own adventure.