Some client report definition (RDLC) report layouts have hidden fields in the body section of the layout. Even though these fields are hidden, in some reports they will cause formatting problems when you print the report because they are outside the width of standard paper or are outside the margins of the page setup. To eliminate the formatting problems, you must move these hidden fields to another location on the report that is within the width of standard paper or within the margins of the page setup. We recommend that you add the fields to an additional row in the table and minimize the width of that row.

For more information about using hidden fields in the body of an RDLC report layout, see Understanding Headers and Footers.

Before you begin this procedure, you must create a layout suggestion for the report. For more information, see How to: Create a Layout Suggestion.

To resolve formatting problems that are caused by hidden fields

  1. In the Classic client, on the Tools menu, click Object Designer.

  2. In Object Designer, click Report, select a report that you want to modify, and then click Design.

  3. On the View menu, click Layout.

  4. In Visual Studio, in the Body of the report.rdlc, verify whether there are hidden fields in the right-most columns of the table.

  5. Right-click the hidden fields, and then click Cut.

  6. Insert a new row in the table.

  7. Right-click the first field in the new row, and then click Paste.

  8. Select the new row. In the Properties window, under Layout, change the value of the Height property to 0.2cm. The height of 0.2 cm is large enough that you can view the row in the layout, but small enough that it will not cause formatting problems when you print the report.

See Also