FIX: A hidden report table may unexpectedly appear in an Office Excel worksheet when the table was exported from SQL Server 2000 Reporting Services

Article translations Article translations
Article ID: 897123 - View products that this article applies to.
This article has been archived. It is offered "as is" and will no longer be updated.
Beta Information
This article discusses a Beta release of a Microsoft product. The information in this article is provided as-is and is subject to change without notice.

No formal product support is available from Microsoft for this Beta product. For information about how to obtain support for a Beta release, see the documentation that is included with the Beta product files, or check the Web location where you downloaded the release.
Bug #: 302241 (SQLBUDT)
Expand all | Collapse all

On This Page

Symptoms

A report table may unexpectedly appear in a Microsoft Office Excel worksheet that was exported from Microsoft SQL Server 2000 Reporting Services. This issue may occur even if you set the Visibility Hidden property of the table to True.

Notes
  • The Visibility Hidden property functions correctly when you export the report to an HTML document or to a Tagged Image File Format (TIFF) file.
  • This issue only occurs in SQL Server 2000 Reporting Services Service Pack 1.

Cause

This issue occurs when the Visibility Hidden property for the table is based on an expression. For example, the following expression should set the Visibility Hidden property of the table to True when the value of the Hide parameter is set to hide:
IIF(Parameters!Hide.Value="hide",TRUE,FALSE)

Resolution

To resolve this issue, download and then install SQL Server 2000 Reporting Services Service Pack 2 (SP2).

For more information about how to obtain the latest SQL Server 2000 Reporting Services service pack, click the following article number to view the article in the Microsoft Knowledge Base:
842440 How to obtain the latest service pack for SQL Server 2000 Reporting Services

Workaround

To work around this issue, enter the expression in the Visibility Hidden property of the table rows. Additionally, if you use groups in your report, enter the expression in the Visibility Hidden property of the groups instead of the table rows.

Status

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

More information

Steps to reproduce the behavior

  1. Create a report that is based on the customers table in the Northwind database
  2. Create a report string parameter that is named Hide.
  3. In the report layout, click the table, and then set the Visibility Hidden property for the table to the following expression:
    =IIF(Parameters!Hide.Value="hide",TRUE,FALSE)
    
  4. Deploy and then view report. Specify hide as the report parameter.
  5. Export the report to Excel. Notice that the table is displayed in the Excel worksheet.

Properties

Article ID: 897123 - Last Review: November 2, 2013 - Revision: 2.0
Applies to
  • Microsoft SQL Server 2000 Reporting Services Service Pack 1
Keywords: 
kbnosurvey kbarchive kbsqlserv2000reportservsp2fix kbcode kbbug kbtshoot kbfix KB897123

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com