Label Report

media_1449118878599.png

To create a new report, in the main menu, select File and click New with Wizard… (or press CTRL+W).

Next, the wizard will guide you through the process of creating a label report.

Finally, drop the required fields from the Field List onto the available Detail band’s area and customize their layout.

media_1449118932011.png

The label report is now ready. Switch to the Preview Tab, and view the result.

Table Report

media_1449118724957.png

Add two Table controls to the Page Header and Detail bands of the report.

To do this, in the Toolbox, click the Table item.

Then, in the Page Header band’s content area, click and hold down the left mouse button while dragging the mouse cursor across the Detail band.

As a result, two tables are created.

The one placed in the Page Header band will be used as a header, while the other one -for the report’s detail information.

 

media_1449118748585.png

Type the headers into the upper table’s cells, and bind the corresponding cells in the detail section to the appropriate data fields.

This can be done by simply dropping these fields from the Field List onto the cells.

media_1449118823958.png

Static Report

media_1449116729750.png

This tutorial describes the steps to create a static report, which means that the report will not be bound to a data source.

In this example, we will create a simple one-page announcement to be repeated 20 times in a report.

To create a static report, follow the steps below.

Create a new report.

Drop the Rich Text control from the Toolbox onto the Detail band.

media_1449116756168.png

Select the created control and click its Smart Tag.

In the invoked actions list, click the Load File… context link.

In the invoked dialog, define the path to an RTF or TXT file containing a text of the announcement, and click Open.

Note that you can perform additional text formatting using the Formatting Toolbar.

 

media_1449116776773.png

To repeat the created report 20 times, select the Detail band and in the Property Grid set its Repeat

Count when Data Source is Empty property to 20.

Also, to make the announcement print on separate pages, set the band’s Page Break property to After the Band.

media_1254886832840.png

The static report is now ready.

Switch to the Preview Tab, and view the result.

Change Page Settings for a Report

media_1449111122692.png

Specify the report’s page settings

While designing the report, you can specify the page settings via the Property Grid:

You can set the page orientation and modify the margins.

The margin values are expressed in the report’s measurement units.

You can select from the predefined paper sizes (Paper Kind property), choose Custom and create your own paper size, or select one which is already defined for this printer (Paper Name property).

These settings affect the layout of the report’s design surface.

media_1449111050660.png

In the Report Designer, page settings of a report can be specified in one of two ways.

The first approach forces the default printer settings to be used when the report is printed, while the other one enables you to alter page settings independently.

Using settings of the default printer
For the orientation, margins and paper size, you can specify a requirement that applies the corresponding printer settings instead of the report’s.

In this instance, the page properties in the Property Grid are disabled and displayed as grayed out.

This may be useful when the report is printed in several places with different printers and printer settings.

media_1254886448990.png

After their modification, you may notice red warning marks, indicating that the controls go beyond the page width.

These warnings can be switched off by setting the Show Printing Warnings property of the report to No.

media_1254886483113.png

Modify the settings in Preview Tab

The report’s Preview Tab toolbar has a corresponding button that enables you to modify the page settings.

Clicking this button invokes the Page Setup dialog, which allows you to adjust the page layout before printing or exporting, and select the printer.

media_1254886523602.png

The margins can also be set visually by dragging the dashed lines in the Preview Tab as needed. To change the measurement units shown in the margins tooltips, customize the report’s Measure Units property.

Measure Units = Hundredths of an Inch

Change Measurement Units for a Report

media_1449110902116.png

Units of measurement are determined by the report’s Measure Units property.

It defines the basic measurement unit for all the unit-related properties of the report and its elements (such as location, size, border width, etc.).

It is equal to one hundredth of an inch by default.

If required, you can change the units to a tenth of a millimeter, by setting the Measure Units property, either using the Property Grid…

media_1449110838344.png

… or via the report’s Smart Tag.

Create a New Report

Blank New Report

media_1449091533892.png

Display Name – the report’s name.

Data Type – the business object type to be used in the report.

Report Type – the report’s type (Standard or Label)

media_1449092374802.png