Creating reports on library contents

You can generate three types of reports from the Library painter:

  • The search results report

  • Library entry reports

  • The library directory report

The search results report contains the matching-entries information that PowerBuilder displays after it completes a search, described in Searching targets, libraries, and objects. The other two types of reports are described in this section.

Creating library entry reports

Library entry reports provide information about selected entries in the current target. You can use these reports to get printed documentation about the objects you have created in your target.

To create library entry reports

  1. Select the library entries you want information about in the List view.

  2. Select Entry>Library Item>Print from the menu bar, or select Print from the pop-up menu.

    The Print Options dialog box displays.


    If you have selected the Application object or one or more menus, windows, or user objects to report on, select the information you want printed for each of these object types.

    For example, if you want all properties for selected windows to appear in the report, make sure the Properties box is checked in the Window/User Object group box.

    The settings are saved

    PowerBuilder records these settings in the Library section of the PowerBuilder initialization file.

  3. Click OK.

    PowerBuilder generates the selected reports and sends them to the printer specified in Printer Setup in the File menu.

Creating the library directory report

The library directory report lists all entries in a selected library in your workspace, showing the following information for all objects in the library, ordered by object type:

  • Name of object

  • Modification date and time

  • Size (of compiled object)

  • Comments

To create the library directory report

  1. Select the library that you want the report for.

    The library must be in your current workspace.

  2. Select Entry>Library>Print Directory from the menu bar, or select Print Directory from the pop-up menu.

    PowerBuilder sends the library directory report to the printer specified under File>Printer Setup in the menu bar.