table of contents in ssrs

放肆的年华 提交于 2019-12-11 13:58:38

问题


I'm looking for a tutorial or sugestions on how to build table of contents in an ssrs report, something like this:

I'm almost there, the only problem is I cannot figure out how to calculate page numbers of the row in a table. Can it be done with bookmarks? or maybe a document map?


回答1:


I don't believe this is possible in SSRS (deriving sequential page numbers in the body section of the report), since page numbers are only valid in page headers.

However, you could use the page name property of each report object to produce section numbers, and combine this with resetting page numbers at the start of each section so that each section always begins on page n.1 .

So your Contents page could look something like this:

Table of Contents

Submission ............... 1.1

Preface .................. 2.1

Executive Summary ........ 3.1

...

Appendices

          A.  Populations and Trends ....... A.1

          B.  Land Use Data ................ B.1
...


来源:https://stackoverflow.com/questions/10036466/table-of-contents-in-ssrs

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!