Report with Cross-Tab on Page |
Top Previous Next |
For better understanding this step-by-step instruction, please watch the video file.
Do the following steps to create a report with the cross table:
2.1. Create New Connection; 2.2. Create New Data Source;
3. Put the Cross-Tab component on a page of the report template.
4. Edit the Cross-Tab component: 4.1. For example, set the GrowToHeight property to true, to allow the Cross-Tab component to grow by height;
5. Define the data source for the Cross-Tab component of the band, for example, using the Data Source property:
6. Invoke the Cross-Tab Designer, for example, clicking the Design... item of the context menu of the cross table component. The picture below shows the Cross-Tab Designer window:
7. Do the following steps in the Cross-Tab Designer: 7.1. Add the data column
from the 7.2. Add a column of the
data source from 7.3. Add a data column
from
8. Press the OK button in order to save your changes and go back to the report template with cross-table.
9. Click the Preview button or invoke the Viewer, pressing F5 or clicking the Preview menu item. The picture below shows a rendered cross-tab report:
10. Go back to the report template; 11. Edit cells in the report template: 11.1. Set the font settings: type, style, size; 11.2. Set the background of cells; 11.3. Set the Word Wrap property to true if it is necessary to wrap text; 11.4. Switch on/off Borders; 11.5. Set the border color; 11.6. Set the background of cells etc.
12. Click the Preview button or invoke the Viewer, pressing F5 or clicking the Preview menu item. The picture below shows a report of the rendered report with the cross table after editing report template cells:
Adding styles
The picture below shows the Style Designer:
Click the Add Style button to start creating a style. Select Cross-Tab from the drop down list. To create the custom style, set the Color property. The picture below shows a sample of the Style Designer with created custom style:
Click Close. In the list of values of the Select Style button in the cross-table editor, a custom style will be displayed. In our case, the name is Style for Cross-Tab. Select this value;
3. Click the Preview button or invoke the Viewer, pressing F5 or clicking the Preview menu item. The picture below shows a sample of the rendered cross-table report using the custom style:
|
Converted from CHM to HTML with chm2web Pro 2.85 (unicode) |