Insert Link dialog for page report

The dialog appears when you select a specified object in the design area in a page report, right-click it and select Link from the shortcut menu, or click the button in the value cell of the Link property or Detail Report property in the Report Inspector. It helps you to link the object to a report, a detail report, a website, an e-mail address or a Blob data type field as required.

Conditional Link

Specifies whether it is a conditional link. If checked, the object can be linked to different targets based on different conditions.

Link Type

Specifies the type of the link target for the object if it is not a conditional link or for the object under the selected condition if it is a conditional link. It can be one of the following:

More

Displays more link options. Available only for the Report, Master/Detail Report and Content link types.

OK

Accepts the linking result and closes the dialog.

Cancel

Cancels the linking process and exits the dialog.

Help

Displays the help document about this feature.

Report

It helps you to link the object to a report. See the dialog.

Report

Specifies the report in which the linked report tab is. Click the Browse button to select the desired report in the Select a Report dialog.

Report Tab

Specifies the linked report tab.

Target

Specifies the window or frame in which to load the linked report. Applied only when the link is triggered in Page Report Studio.

Filter tab

Specifies the filter conditions based on which the link relationship between the primary report and the linked report is set up.

Parameters tab

This tab is available when the linked report uses parameters. It helps you to assign values to the parameters of the linked report automatically.

Advanced tab

Specifies to pass the values of the filter objects such as filter controls and sliders in the primary report to those in the linked report.

Pass style group information down to linked report

Specifies whether or not to apply the style group of the primary report to the linked report.

Master/Detail Report

It helps you to link the object to a detail report. See the dialog.

Report

Specifies the report in which the detail report tab is. Click the Browse button to select the desired report in the Select a Report dialog.

Report Tab

Specifies the target detail report tab.

Component

Specifies the component in the detail report tab that will be interlinked with the master report. Click the Browse button to add the components. You can add more than one component as long as the components are based on the same dataset.

Target

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

Anchor

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

Conditions tab

Specifies the filter conditions between the master report and the detail report.

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.

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.

URL

It helps you to link the object to a location specified by a URL. See the dialog.

Hyperlink

Specifies the URL of the location that the object will be linked to. Fields can work in the hyperlink only when they are inserted via the Add Dynamic Field option.

Target

Specifies the window or frame in which to load the location specified by the URL. Applied only when the link is triggered in Page Report Studio.

E-mail

It helps you to link the object to an e-mail address. See the dialog.

Hyperlink

Specifies the e-mail address that the object will be linked to. Then after you click the trigger object, an e-mail will be popped with the information specified in the Hyperlink box. You can then further customize the e-mail and send it.

Enter the e-mail address in the Hyperlink box using the syntax sAddress[sHeaders]. The following are details about the syntax:

Hyperlink examples:

Note: Fields can work in the hyperlink only when they are inserted via the Add Dynamic Field option.

Add Dynamic Field

Opens the Select Field dialog to insert a field into the e-mail address.

Content

It helps you to link the object to a Blob data type field. The Blob data type field will be bound to the object and displayed as a hyperlink. You can download the Blob content by clicking this hyperlink. In JReport, Blob could be image, Binary, Blob, Clob, LongBlob, LongClob, Varbinary, Longvarbinary, and so on. See the dialog.

Query

Specifies the query which contains the required Blob data type field. Only queries from the same data source connection as the current report are listed.

When you set the link type to Content, JReport will check whether there are such kind of queries available. If not, options for this link type will be disabled.

Content Type

Specifies the content type for the Blob type data. You can click the button to bind it with a field column or a record level pass one formula in the selected query.

File Name

Specifies the file name for the linked Blob type data. You can click the button to bind it with a field column or a record level pass one formula in the selected query.

Content

Specifies the Blob data type field in the selected query.

Filter tab

Specifies the link conditions between the query used by the current report and the query that contains the linked Blob content.

Parameters tab

This tab is available when the query that contains the linked Blob content uses parameters. It helps you to assign values to the parameters automatically.

Related topic: