Dynamic Table of Contents
Good afternoon,
I have RB 9.02 in D7. I am trying to see if either version 9 or a newer
version can build a Table of Contents based on two report groups? I see the
report preview shows the group levels and page number, but is it possible to
build a printable Table of Contents? Please let me know if version 9 can do
it or if I will need a newer version.
Thanks in advance... Tom
I have RB 9.02 in D7. I am trying to see if either version 9 or a newer
version can build a Table of Contents based on two report groups? I see the
report preview shows the group levels and page number, but is it possible to
build a printable Table of Contents? Please let me know if version 9 can do
it or if I will need a newer version.
Thanks in advance... Tom
This discussion has been closed.
Comments
Take a look at the following article and example on creating a table of
contents that corresponds to the report groups you have created.
http://www.digital-metaphors.com/rbWiki/Delphi_Code/Layouts/How_To...Create_a_Table_of_Contents
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
I finally had a chance to work on the Table of Contents (TOC) for my report.
It seems to work and populate the memo (in the TOC sub-report like the
example TOC project) with the TOC, but the TOC sub-report runs over 1 page.
The TOC sub-report is truncated and the main report starts on the 2nd page
even though the TOC says the first page of the main report is page 3 (2
pages of TOC). How do I allow the TOC sub-report to use a 2nd page?
Thanks in advance... Tom
Since we are filling the table of contents while the report is
generating, we would need to know in advance if it is not going to fit
on one page. With the example we only allot a single page for the info.
If you know your table of contents is going to span multiple pages, you
can add more subreports to represent those pages (separated by
TppPageBreak objects). I updated the example to allow a two page TOC.
If you would like to see how it was done, send an email to
support@digital-metaphors.com and I'll send it to you.
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com