TOC

edited 7:05PM 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 7:05PM
    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