48. Click OK to accept settings and close the Properties dialogs.
49. Select the cell immediately below the newly formatted label (the fourth cell in the first column).
The selection appears as shown in Illustration 38
50. In the Properties Window, Appearance section, expand the Visibility property.
51. Select True in the selector to the right of the Hidden property.
The Visibility property setting of the Properties Window, Appearance section appears as shown in Illustration 39
52. Click the cell in the Detail Row of the Subcategory column (shown in Illustration 40), immediately to the right of the cell for which we just set the Visibility property.
53. Set the Hidden property for this cell to True, as we did with the previous cell.
We have now hidden redundant data fields that clutter the report. Let's add SubCategory and Category total labels.
54. Click the fifth cell down in the first (Category) column.
55. In the Properties pane that appears in the bottom right corner of the development environment (yours may be in a different place; if it does not appear, click the Properties button to call it), type the following into the Value box, in the Data section of the Properties pane:
=Fields!SubCategory.Value & " SubCategory Total:"
56. Expand Font in the Appearance section of the Properties pane.
57. Click the Font tab on the Advanced Textbox Properties dialog that appears.
58. Select Bold in the Weight property selector.
The affected sections of the Properties pane appear as shown in Illustration 40.
Illustration 40: Modifications in the Properties Pane
59. Click the sixth cell down in the first (Category) column.
60. In the Properties pane type the following into the Value box, in the Data section of the Properties pane:
=Fields!Category.Value & " Category Total:"
61. Expand Font in the Appearance section of the Properties pane.
62. Click the Font tab on the Advanced Textbox Properties dialog that appears.
63. Select Bold in the Weight property selector.
Let's add a Report Total row label as the last modification of this overview.
64. Right-click the bottom cell in the first (Category) column.
65. Select Properties from the context menu that appears.
66. Type the following into the Value box of the Textbox Properties dialog that appears next:
67. Click the Advanced button.
68. Click the Font tab on the Advanced Textbox Properties dialog that appears.
69. Select Bold in the Weight property selector.
70. Click OK to accept settings and close the Properties dialogs.
Let's take a look at the effects of our work within formats and other properties.
71. Click the Preview tab.
72. Once the report preview has processed, click the Last Page button once more.
The Preview of our report, at the bottom of the last page, appears similar to that partially depicted in Illustration 40.
Illustration 41: Preview - Last Page of Report (Partial View)
Note that some of the format features may not be reflected as clearly in the on-line preview as in paper printouts, and that various displays can also have an impact. In addition, column widths might require adjustment to make the report more compact. This is easily accomplished with a quick return visit to the Layout tab.
There are a multitude of additional formatting and properties features, many of which we will encounter as we journey through the MSSQL Server 2000 Reporting Services series together. For now, we will conclude our efforts and save our work.
73. Select File --> Save RS02_Authoring.rdl As ...
74. Type the following into the File Name box of the Save File As dialog:
75. Click File --> Exit, when desired, to leave Visual Studio 2003 .NET.
Summary and Conclusion ...
In this article, we picked up where we left off in Part I of our Reporting Services Authoring phase overview. We undertook the remaining steps of our initial walkthrough of the Authoring phase, and completed many steps within our original practice example. Rejoining the tabular report from Part I, we made numerous modifications and enhancements to the layout of the report, and then filtered the dataset. We next performed grouping and sorting within the table, and then added subtotals and a total, using the group and report footers as points of placement. Finally, we set illustrative formatting and other properties, to introduce the huge population of options for increasing usefulness and appearance of a report within Reporting Services.
» See All Articles by Columnist William E. Pearson, III
Discuss this article in the MSSQL Server 2000 Reporting Services Forum.