WebFOCUS Online Help > Managed Reporting Developer > Creating Reporting Objects > Creating a Join in the Browser
In this section: How to: Reference: |
The following table describes the icons used to represent different data types in the Master File fields list in the Join Tool:
Icon |
Description |
---|---|
Represents an alphanumeric data type. | |
Represents a numeric data type. | |
Represents a date data type. |
After you have at least two data sources in the Join Tool window, you can create the links between the data sources. The data source from which you drag a field becomes the host file and the data source you link to becomes the cross-referenced file. If you are using a FOCUS data source, index field names are highlighted in blue to identify fields that are indexed. The Join Tool supports a maximum of 63 joins.
You can also create inner and outer joins with single or multiple instances.
Note: When joining two FOCUS data sources, the cross-referenced file field must be indexed.
The following image shows the Join Tool window containing two data sources with CATEGORY as the index field.
The Join Tool represents a join by displaying a connector line with a single arrow from the field in the host file to the field in the cross-referenced file. The Join Tool also displays a red button to the left of the linked field in the host file and displays a blue button to the left of the linked field in the cross-referenced file. These buttons provide a quick way to identify host and cross-referenced files.
Note: Click Run to validate the syntax.
The Reporting Object window opens.
The Join Tool window opens and displays the data source associated with the Reporting Object.
The Add Master(s) dialog box opens.
WebFOCUS adds the field list for the selected data source to the Join Tool window.
The Join Tool displays the connector line between the linked fields and the red and blue buttons next to the linked fields.
To link fields other than those indicated by the Join Tool, right-click the connector line and select Delete from the Link Properties dialog box. You can then follow the directions in Step 5 to link the fields you want.
If you have finished working with the components of the Reporting Object, remember to click Done in the Reporting Object window to save the changes.
Note: Syntax and error checking are not performed on the commands you enter until the Reporting Object is executed.
The Join Properties window opens.
FOC214 MORE THAN 64 SEGMENTS OR 189 SEGMENTS + INDEXES DESCRIBED.
There is an option in the Managed Reporting Join Tool Applet that enables you to automatically arrange the files that currently display in the tool. This is useful when you add and remove files and there is extra space.
To reorder files, in the Applet Join Tool toolbar, click the Auto Arrange Master Files icon.
WebFOCUS |