ssrs 目录

扫码查看
本文介绍了ssrs 目录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找有关如何在 ssrs 报告中构建目录的教程或建议,如下所示:

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?

推荐答案

我不相信这在 SSRS 中是可能的(在报告的正文部分导出连续页码),因为页码仅在页眉中有效.

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.

但是,您可以使用每个报表对象的页面名称属性来生成节号,并将其与在每个节的开头重置页码相结合,以便每个节始终从第 n 页开始.1 .

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
...

这篇关于ssrs 目录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-04 01:57
查看更多