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?
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
select the page2 tab and move it infront of the page1 tab.