我有一个包含一天数据的 tablix,我需要在底部有相同的数据,但在 3 个不同的行中。我想在底部复制主要日期表 3 次,然后为每个表使用不同的数据集。
我尝试复制 tablix 并将其粘贴到Body
在 tablix 下方,但出现以下错误:
报表生成器无法成功粘贴。
如何完成复制和粘贴?或者,如果这是不可能的,是否有其他方法可以完成我想要完成的任务?
这是一个动画截图:
您可能会收到错误消息Report Builder was unable to paste successfully
因为网格中的某处有一个单元格使用报告中的自定义代码
即您无法复制具有以下自定义代码的文本框:“Code.MyCustomeCode()”
- 报表生成器无法成功粘贴 http://mibuso.com/blogs/clausl/2014/09/05/report-builder-was-unable-to-paste-successfully/
自 SSRS 2008 以来,这是一个已报告的错误:
使用 Visual Studio 2008 创建新报表时,我们无法在 tablix 中复制和粘贴多个文本框,并收到弹出错误,指出“报表生成器无法成功粘贴”
- 2008 R2 SP2 升级后,无法使用自定义代码复制和粘贴 SSRS 报告中的文本框 https://connect.microsoft.com/SQLServer/feedback/details/767968/
解决方法:
-
打开 XML查看报告,可以在 Visual Studio 中右键单击报告并选择查看代码,或在任何文本编辑器中进行编辑。
-
Comment out
Code.
blocks. Ctrl + F your way through the document looking for Code.
. The goal is to preserve the code in some way, while temporarily commenting out the line. Depending on your actual code, this might be different, but I here's what I like to do:
-
Find:
=Code.
-
用。。。来代替:
='Code.
- Go back to the Designer View and Copy and Paste the Tablix. You can do this by right clicking the top left corner of the tablix control:
- Go back to the XML View and reverse the find and replace
-
Find:
='Code.
-
用。。。来代替:
=Code.
你应该已经准备好了!
Note: 不能直接复制<tablix>
第 1 步之后在 XML 视图中阻止,因为它将创建具有完全相同的元素name
财产
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)