Creating a Table of Contents (TOC)
Posted: Tue Feb 08, 2011 10:00 am
Hallo Support,
I have written code which takes a dataset and generates a dynamic report (i.e. everything is done in code and not in the designer). I'd now like to add a table of contents to the beginning of the report. I've read the documentation and am now confused.
I see I have to add a unique bookmark to everything I want to have in my TOC. Is this correct or do I have to add a hyperlink instead? What about the tag property, do I need this?
So, everywhere in my report where I'd like to be able to link to from the TOC I add some property to that particular component.
Now what about the first page where I'd like to display the TOC - what do I have to put here to define the TOC? Do I need a particular band which will then be the container for the TOC? How do I then loop through and display each items I'd like in my TOC?
Many thanks,
John Kitching
I have written code which takes a dataset and generates a dynamic report (i.e. everything is done in code and not in the designer). I'd now like to add a table of contents to the beginning of the report. I've read the documentation and am now confused.
I see I have to add a unique bookmark to everything I want to have in my TOC. Is this correct or do I have to add a hyperlink instead? What about the tag property, do I need this?
So, everywhere in my report where I'd like to be able to link to from the TOC I add some property to that particular component.
Now what about the first page where I'd like to display the TOC - what do I have to put here to define the TOC? Do I need a particular band which will then be the container for the TOC? How do I then loop through and display each items I'd like in my TOC?
Many thanks,
John Kitching