## Mailing Label Report Wizard

This wizard appears when you select Mailing Label Report in the New Report dialog or New Report Set dialog and then click OK. It helps you to create a report with a cross banded object in it, which is in the form of a mailing label layout, and consists of the following screens.

- Data screen
- Display screen
- Group screen
- Summary screen
- Filter screen
- Layout screen
- Style screen

Back

Goes back to the previous screen.

Next

Goes to the next screen.

Finish

Finishes creating the mailing label report and closes this wizard.

Cancel

Does not retain changes and closes this wizard.

Help

Displays this help document.

### Data screen

Specifies the dataset used to create the banded object. See the screen.

Define a dataset for the object

Specifies the dataset on which the banded object will be built.

- New
  If checked, select a data source from the catalog resources to create a dataset that will be used to build the banded object. When you choose to create the dataset from a query, you can click the Modify button to edit the query in the Query Editor if required.
- Existing
  If checked, select a dataset from the ones existing in the opened report set to create the banded object. Click the Modify button to edit the dataset in the Dataset Editor if required.

### Display screen

Specifies the data fields displayed in the banded object. See the screen.

Resources

Lists all the available data resources.

Adds the specified field to use in the banded object.

Removes the specified field that is not required in the banded object.

Moves the specified field one step up.

Moves the specified field one step down.

Display Fields

Lists the fields that have been selected to display in the banded object.

Display Name

Shows the display names of the selected fields. You can double-click the name cells to edit them if required.

Sort Fields by

Opens the Sort Fields by dialog to specify how to sort data in the banded object.

### Group screen

Specifies the fields to group data in the banded object. See the screen.

Resources

Lists all the available data resources.

Adds the selected field as the group by field in the banded object.

Removes the selected group by field that is not required.

Moves the specified group one step up.

Moves the specified group one step down.

Group by

Lists the fields that are used to group data in the banded object.

Sort

Specifies how groups at the specific group level will be sorted.

- Ascend
  Groups will be sorted in an ascending order (A, B, C).
- Descend
  Groups will be sorted in a descending order (C, B, A).
- No Sort
  Groups will be sorted in the original order in database.
- Special Group
  Opens the User Defined Group dialog to define grouping information.

  For example, if you placed a field named Region for grouping, and this field contains all 50 states of the United States; and if you want to see the data between Maryland (MD) and New York (NY), you can define the criteria by selecting the between operator to further define your grouping information.

- Sort Group by
  Opens the Sort Group by dialog to set how groups will be sorted.

Special Function

If the group by field is of Numeric/String/Date/Time type, you can select a special function for the field in the Special Function column to further specify to which level the data will be grouped by.

If Customize is selected, the Customized Function dialog will be displayed, in which you can set the function by your own.

Sort Group by

Specifies how to sort the groups. Activated only when you have clicked Sort Group by from the Sort column to define the sorting manner of groups for the selected group level.

Special Group

Specifies how to group your information. Activated only when you have clicked Special Group from the Sort column to define a special group.

Select N

Opens the Select N dialog to specify the Select N condition.

Group Filter

Opens the Group Filter dialog to specify the group filter condition.

### Summary screen

Specifies the fields on which to create aggregate functions. See the screen.

Resources

Lists all the available data resources.

Adds the selected field as the summary field to the banded object.

Removes the selected summary field that is not required.

Moves the specified summary field one step up.

Moves the specified summary field one step down.

Summarized Fields

Lists all the fields that you want to display and to be summarized in the banded object.

Aggregate Function

Specifies the function to summarize the selected field.

Break Field

Displays a defined field on which the summary will be calculated. If a summary field is added below the Banded Object node, the break field is null and the summary will be calculated on the whole dataset.

### Filter screen

Specifies to filter data displayed in the banded object. See the screen.

Add Condition

Adds a new condition line.

Delete

Deletes the selected condition line.

Group

Makes the selected conditions in one group. Conditions can also be added to an existing group by selecting the conditions and the group while holding the Ctrl button, and then clicking the Group button.

Ungroup

Makes the selected condition ungrouped.

Up

Moves the selected condition up to a higher level.

Down

Moves the selected condition or group down to a lower level.

Logic

Lists the logic operator.

- And
  Logic operator And which is applied to this and the next line.
- Or
  Logic operator Or which is applied to this and the next line.
- And Not
  Logic operator And Not which is applied to this and the next line.
- Or Not
  Logic operator Or Not which is applied to this and the next line.

Field

Specifies the field to be filtered.

Operator

Specifies the operator to compose the filter expression.

- =
  Equal to
- >=
  Greater than or equal to
- >
  Greater than
- <
  Less than
- <=
  Less than or equal to
- !=
  Not equal to
- [not] like
  Like string pattern matching operator is used to compare the first expression string value to the pattern string (the second expression). If you want to use wildcard character in the pattern string, only "_" and "%" are supported.
- [not] in
  Causes an enumerated list of values to appear in the WHERE clause predicate, used for evaluating for a true condition. For operator ‘in' or ‘not in', it is allowed to input multiple values in the Value input box and separate the values with comma (,).
- [not] between
  Allows the system to evaluate whether or not data values are located between a range of values indicated in the predicate. For operator ‘between' or ‘not between', there are two value input boxes for inputting the same type of values.
- is [not] null
  It is used in WHERE clause predicates to match null values occurring in a specified data field. For operator ‘is null' or ‘is not null', the value input box is hidden.

Value

Specifies the value of how to filter the field.

SQL Statement

Displays the SQL statement of the filter condition.

### Layout screen

Specifies the layout of the banded object. See the screen.

Label Size

Specifies the size for the labels in the banded object.

- Width
  Specifies the width of the labels, in inches. By default, its value is 1.04.
- Height
  Specifies the height of the labels, in inches. By default, its value is 0.18.

Gap Between Labels

Specifies the gap between each two labels.

- Horizontal Gap
  Specifies the horizontal gap between two labels, in inches. By default, its value is 0.42.
- Vertical Gap
  Specifies the vertical gap between two labels, in inches. By default, its value is 0.42.

Preview

Displays the selected layout for the label.

### Style screen

Specifies the style of the banded object. See the screen.

Report Title

Specifies the title, which will be shown in the banded header of the banded object.

Style

Lists all the available styles that can be applied to the banded object.

Preview

Displays the selected style effects.

Create a Banded Report

Creates a restricted version of a flow layout report, one that can contain a single banded object only. This layout option is intended to provide compatibility with JReport Version 7 report templates.

Create a Flow Layout Report Containing a Banded Object

Creates a report that contains a banded object mapped to the specified dataset. This layout option is specified by default.

Page Setup

Opens the Page Setup dialog to specify page properties.

###### Related topics:

- Creating a banded report