Resource View panel

The Resource View panel, which can be displayed by clicking View > Resource View on the menu bar, is an integrated interface for managing the resources that are used in the current report. It consists of a toolbar, a dataset drop-down list, and a field panel as shown below:

Toolbar

The toolbar includes the following buttons:

Dataset drop-down list

This drop-down list is available for page report only. It lists all the datasets used in the current report. The first item <Choose Data from...> provides access to creating a dataset.

Fields panel

This panel lists all available resources for the current report in a tree structure. The DBFields, formulas, summaries, and parameters in this panel respond to right-clicking events, and thus provide you with shortcuts for viewing and editing their properties, editing formulas/summaries/parameters, creating new formulas/summaries/parameters, and operating queries.

Searching for resources in the Resource View panel

You can search the resources you want in the Resource View panel as shown below:

  1. Click on the Resource View toolbar to display the Search dialog. See the dialog.
  2. Provide a search condition in the Search Expression text box. Use "*" to stand for any string, and use "?" to stand for any character.
  3. Select the Case Sensitive checkbox if you want JReport to distinguish between uppercase and lowercase characters when searching.
  4. Specify the search scope by selecting the radio button Selected Resources or Search In.
  5. Click the Search button to search for the resource you want.

    The result will be listed in the Search Result panel which has three columns: Resource Name, Resource Type and Resource Path. You can sort the search result alphabetically by clicking the column headers. When you select a search result from the Search Result panel, the resource node that contains it will be expanded with that resource highlighted in the Resource View panel.