Creating reports on library contents – PB Docs 80

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 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.

proc.gif To create library entry reports:

  1. Select the library entries you want information
    about.

  2. Select Entry>Library Item>Print
    from the menu bar.

    or

    Select Print from the popup menu.

    The Print Options dialog box displays.

    lib24.gif

  3. 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.

    note.gif The settings are saved PowerBuilder records these settings in the Library section of
    the PowerBuilder initialization file.

  4. 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

proc.gif 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 popup menu.

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

This part describes how to code your application. It
covers the basics of the PowerScript language, how to use the Script
view, and how to create functions, structures, and user events to
make your code more powerful and easier to maintain.


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x