简体   繁体   English

导出到Excel限制

[英]Export to Excel Limitation

How to export SSRS report data with greater than 32767 characters in excel. 如何在Excel中导出大于32767个字符的SSRS报告数据。 I tried to use this solution but I don't know exactly where I want to put it. 我尝试使用此解决方案,但我不知道确切的位置。 anybody has some insight: 任何人都有一些见识:

Globals!RenderFormat.Name = "EXCEL",LEFT(Fields!Message.Value,32767),Fields!Message.Value 

Try this piece of code I found somewhere on the net. 试试这段我在网上发现的代码。

=IIf(Globals!RenderFormat.Name= "EXCELOPENXML" OR Globals!RenderFormat.Name = "EXCEL",Left(Fields!Parameters.Value,32767),Fields!Parameters.Value)

It worked for me. 它为我工作。

Apparently Reporting Services use Office OPEN XML format. 显然,Reporting Services使用Office OPEN XML格式。

https://msdn.microsoft.com/en-us/library/dd255234.aspx https://msdn.microsoft.com/zh-CN/library/dd255234.aspx

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM