## Master/Detail Report dialog

This dialog appears when you right-click a field and select Detail Report from the shortcut menu. It helps you to define the target detail report for the selected component. See the dialog.

The following are details about options in the dialog:

Link to

Specifies what the component will be linked to.

Select Report Set

Specifies the target report set.

Report

Specifies the target detail report included in the report set. The selected report will be shown as a detail report when you click the specified object in the JReport DHTML window.

Component in Report

Specifies components from the selected report that is to be displayed in the detail report.

Anchor tab

Specifies the relationships between the master report and the detail report.

- Column in Detail
  Specifies the field in the detail report which will be used to link the detail report with the master.
- Op
  Specifies the operator. Can be =, <>, >, >=, <, or <=.
- Column in Master
  Specifies the field in the master report.

Filter tab

Specifies the condition to further filter data in the detail report.

- Adds a field of the master report to set up filter condition between the master report and the detail report.
- Removes the selected field.
- Field
  Lists all the fields that are used in the filter conditions.
  - Fields(Master)
    Lists the selected fields of the master report.
  - OP
    Specifies the operator to set up the filter condition between the master report and detail report.
  - Fields(Detail)
    Lists the DBFields in the datasets of the detail report which are of the same data type as the selected fields in the master report.
  - More
    Specifies relations between two conditions.

Parameters tab

This tab is only available when there is at least one parameter applied in the filters of the queries that the detail report uses. It helps you to assign values to the parameters of the detail report automatically.

- Parameters (Detail Report)
  Lists all parameters contained in the datasets of the detail report.
- Column (Master Report)
  Lists all the DBFields, formulas and summaries in the datasets of the master report which are of the same data type as the parameters of the detail report.

Use the same encoding and DB setting for the detail report as that of the master report

Specifies whether the detail report uses the same encoding and DB settings as per the master report.

Target Frame

Specifies the window or frame where to load the detail report.

- <Server Setting>
  Loads the detail report according to setting of the Pop up New Window for Links option in the DHTML tab of the Profile dialog in JReport Enterprise Server.
- Same Frame
  Loads the detail report into the same frame as the master report.
- Whole Window
  Loads the detail report into the full browser window.
- New Window
  Loads the detail report into a new window. This window is not named.
- Parent Frame
  Loads the detail report into the parent frame of the frame in which the master report is.
- Other Frame
  Loads the detail report into some other specified frame. If the frame name does not exist, the detail report will be loaded into a new window.

OK

Applies all changes and closes the dialog.

Cancel

Cancels the changes and exits the dialog.

Help

Displays this help document.

###### Related topics:

- Linking a report to a detail report