TOC

edited 1:04PM in FastReport VCL 5
I'm trying to create a Table of contents page on the first page.
On my second design page, I have a MasterData Band with a group header.

Each new group is printed on a new page so I need to get the page no whenever the group changes.
I use the AddAnchor method on the OBP event of the group header
and the GetAnchorPage on a memo in the first page, but I keep getting the last page number (DoublePass = true).

What am I doing wrong?

Comments

  • gpigpi
    edited 1:04PM
    Did you see FR Demo "URLs, anchors" report?
  • edited July 2014
    gpi wrote: »
    Did you see FR Demo "URLs, anchors" report?

    Yes, but I don't see where the anchors and the URLs are set.
    I only want to display the relevant page number on the first page, I don't need to "jump" to the page.

    So, for example if I have a new section (group or topic) which starts on page 6 and ends on page 10 then I just want to display:
    "SectionName Pg 6 - 10" on the first page.

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.