If I have different page definitions and hard-code the anchors for each page definition, the resulting Table of Contents is fine. I've tried extending that logic to a single page report definition with "new page before" each primary group heading; and with setting the anchor to the current variable value (AddAnchor(Dataset.Div_Name);) and taking care to call the page number value at the right time ({GetAnchorPageNumber(Dataset.Div_Name)}, Process at End of Report); but those numbers are not quite right, though they are close.
I noted that your closest demo report (https://demo.stimulsoft.com/#Net/BookmarksAndHyperlinks) doesn't show page numbers. Would the anchor logic work there for page numbers based on variables, or is there a reason why that example does not have page numbers? (I tried to test it out but was not able to.) Thank you.
Page Numbers with variables as anchors - not quite right
Page Numbers with variables as anchors - not quite right
Judy Hennessey / PrecisionBI
-
- Posts: 7334
- Joined: Tue Mar 20, 2018 5:34 am
Re: Page Numbers with variables as anchors - not quite right
Hello,
Please try to use the new component - Table of Contents which was added in the last release:
https://www.stimulsoft.com/en/blog/news ... 1-released
Thank you.
Please try to use the new component - Table of Contents which was added in the last release:
https://www.stimulsoft.com/en/blog/news ... 1-released
Thank you.
Re: Page Numbers with variables as anchors - not quite right
Thank you for the prompt reply. That will be a welcome feature.
Judy Hennessey / PrecisionBI
-
- Posts: 7334
- Joined: Tue Mar 20, 2018 5:34 am
Re: Page Numbers with variables as anchors - not quite right
Hello,
You are welcome.
You are welcome.