Rename Excel sheets with Reporting Services 2008 R2

我的未来我决定 提交于 2019-12-11 13:47:19

问题


I have 2 tablix's. I have entered a page break after the first tablix so that the tables show up on two sheets. However, each sheet is named Sheet1 and Sheet2. How do I give it its own unique name automatically through the reporting services application?


回答1:


When exporting to Excel, you can set the first sheet name with the Report -> InitialPageName property:

Further sheets are triggered by page breaks, and in SSRS 2008R2 and above you can name sheets using the PageName property. This can be set in various locations where page breaks can be triggered, e.g. a Tablix:

Or a group within a tablix that has page breaks between group instances; here you might make it expression-based with a field in the report:

See Worksheet Tab Names for more information.



来源:https://stackoverflow.com/questions/21142678/rename-excel-sheets-with-reporting-services-2008-r2

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