I'm trying to build a TOC for s freeform report. The TOC appears as the second page of the report after the title page. I can't seem to forward reference the page numbers so I can place them in the TOC alongside the title headings.

All attempts to use calc values have failed as they get calculated in order from 1st page to last, hence they always get calculated on the TOC page as '2'.

The titles I am including in the TOC are all on the report header section, none in the detail section. Any ideas how I can do this?