Hi,
In the TOC of my document I need to include a 'S.' prefix before page number so that it corresponds with the page numbering template produces 'Page S<X> of <Y>' at the bottom of the page. How do I get the prefix in? At the moment I can only get the page number and hence the TOC cannot distinguish between the page numbering for the base document and supplement sections.
Thanks in advance,
Joy
Hi Joy,
Reporting provides a complete expression language to achieve what you need and much more. Please take a look at the documentation to see all the possibilities it gives.
In your specific case, what I understand you need is an expression like this:
= "Page S" + CurrentPage + " of " + TotalPages
Please tell us if this resolve your question,
Simon
Hi Simon,
Thanks for the links as my old links don't work any more.
I don't have a problem with setting a template for the bottom of the page. I use the Template property of page numbering and set to:
"Page S.[Page #] of S.[LastPageInSection]"
The problem is when I 'bookmark' the start of a new logical section so that the name of the section appears in the table of contents. I can only get '1' to come up in the TOC rather than 'S.1'.
E.g. So have:
Section 1 .............................. 1
Section 2 .............................. 4
instead of:
Section 1 ............................. S.1
Section 2 ............................. S.4
Code snippet:
How do I add 'template' info into target?
Thanks Joy