SSRS2008报表导出到EXCEL正常,打印后折行。简单解决方案是直接调整SIZE和Margin。

微软发布的SQL SERVER 2008 SP2 宣称已经修复此问题,下面是MS原帖,再下面是这之前喷微软的口水贴。

MS原帖:  

FIX: The margins are not retained in a report when the report is exported to Excel on a server that is running SQL Server 2008, and then you preview the report in Excel

 Consider the following scenario:

  • You run Report Builder on a server that is running Microsoft SQL Server 2008.
  • In Report Properties, you set the margins of the report to 0.25 inches, and then you save the report.
  • You run the report, and then you export the report to Microsoft Excel.

In this scenario, when you click Print Preview in Microsoft Excel and then show the margins, the margins that you set are not retained. For example, the top and bottom margins are set to 1 inch, and the right and left margins are set to 0.75 inches.

RESOLUTION

Service pack information

To resolve this problem, obtain the latest service pack for SQL Server 2008. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
968382  How to obtain the latest service pack for SQL Server 2008

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

This problem was first corrected in SQL Server 2008 Service Pack 2 for SQL Server 2008.

MORE INFORMATION

For more information about Report Builder in SQL Server 2008, see the following topic on the Microsoft TechNet website:

APPLIES TO
Keywords: 
kbinfo kbexpertiseinter kbprb kbbug kbtshoot kbsurveynew KB2216480 

 

Closed

32
0
Register
to vote
Type: Bug
ID: 487628
Opened: 9/2/2009 11:08:33 AM
Access Restriction: Public
0
Workaround(s)
view
21
User(s) can reproduce this bug
When a report is exported to Excel the report margins are not kept for the printing of the worksheet. It appears that that the margins default to one inch.
expand)

相关文章:

  • 2022-12-23
  • 2021-04-20
  • 2022-12-23
  • 2022-12-23
  • 2022-01-30
  • 2021-12-01
  • 2022-02-15
  • 2022-12-23
猜你喜欢
  • 2021-10-06
  • 2021-12-02
  • 2022-12-23
  • 2021-11-05
  • 2021-11-06
  • 2021-12-08
相关资源
相似解决方案