Defining the Report Format

This task shows you how to define the report format. You use this function, together with the function described in Generating a Report, to get the values of properties of objects in a document.

Examples from the Piping Design workbench are used here.
Substitute the appropriate resource or directory when working in another workbench.

Before you generate a report you need to define its format. This means deciding which properties you are interested in. This report format is kept in a file which you can use to generate reports from other documents.

To use this function you must first set up an option:

  1. Select Tools > Options > General > Parameters and Measure

  2. Select the Knowledge Environment tab.

  3. Under Language, select the Load extended language libraries check box.

  4. Click OK to validate.

  1. Select Tools > Report > Define.

    The Report Definition dialog box displays.
  2. Enter a Report Title - you can select anything but you must enter a title.

  3. Select the Show Inherited Attributes and Programs check box if you want to.

  4. Click the down arrow and select the Dictionary related to your program.

  5. Select the Type of object.
    The list of attributes you see in Step 6 depends on the type you select here. However, when you generate a report you will get values for all objects in the document that have the attributes in your report format. If you want to limit the objects for which you get a report you must create a query (Step 7).

  6. Select an attribute in the Attribute field and click Add.
    The attribute is added in the window.
    Add as many attributes as you want to.

  7. You can further refine your report by using the Edit > Search function to define a query.
    This allows you to generate a report on a narrower selection of, say, check valves of a certain size, instead of all check valves in your document. The queries you create are available for selection when you click the arrow in the Query Name field .
    Detailed instructions on using the Search function can be found in the Infrastructure User's Guide under Basic Tasks - Selecting Objects.
    Briefly:

    1. Select Edit > Search to bring up the Search dialog box.

    2. Select the Advanced tab, then select a workbench, type of object and attribute you are interested in.

    3. Click Add to Favorites to bring up the Create a Favorite Query dialog box and name the query then save it.