### Binding a link to a label

To bind a link to a label, follow the steps below:

1. Right-click the label and select Detail Report on the shortcut menu. The Master/Detail Report dialog will then appear.
2. Specify the target to which the label will be linked from the Link to drop-down list and then set the options for the target.
   - A Report
     If you create a link to a report, when viewing the result, you can view another report by clicking the label (for details, see Linking a report to another report).
   - Master/Detail Report
     If you create a link to a detail report, when viewing the result, you can view the detail report by clicking the label (for details, see Linking a report to a detail report).
   - A URL
     Enter the link in the Hyperlink box, or click to select a field which contains URL information or create a formula to represent a URL to set the hyperlink, and then specify the frame from the Target Frame drop-down list.
   - An E-mail
     You can use the text boxes and drop-down list to compose e-mail address. For example, a field "Company" contains company information such as "Jinfonet", you can input "sales" in the first text boxes, select "Company" from the drop-down list, and input ".com" in the second text box. With this, you can click the label (or any field value if you have bound the link to a field) in view mode or JReport Web so as to write an e-mail to the corresponding recipient. You can also type "sales@jinfonet.com" into the first text box and leave the drop-down list and the second text box empty, and thus clicking the label (or any field value) will write an e-mail to the specific address.
3. When done, click OK to close this dialog.