page numbers in a TOC on the first page

I try to create a TOC with page numbers on the first page.
With use of the .url property and the method <!--fonto:Courier New--><span style="font-family:Courier New"><!--/fonto-->engine.addanchor<!--fontc--></span><!--/fontc--> the hyperlinks in the TOC to the corresponding report pages are correct.

But the <!--fonto:Courier New--><span style="font-family:Courier New"><!--/fonto-->engine.getanchorpage<!--fontc--></span><!--/fontc--> method doesn't return the correct page number after the first pass of the report generation. It should return the corect number after the second pass, but then it is not possible anymore to print this number on the first page of the report.

does someone have an idea how to solve this?

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 6:42PM
    design report on first page put the table of contents on page2 in designer wwindow
    select the page2 tab and move it infront of the page1 tab.

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.