Creating a report using the Composite presentation style

StepsTo create a report using the Composite presentation style:

  1. Select File>New from the menu bar.

    The New Report dialog box displays.

  2. Choose the DataWindow tab page and the Composite presentation style, and click OK.

    The wizard displays all reports (DataWindow objects) that are in the current target’s library search path.

  3. Click the reports you want to include in the composite report and then click Next.

    The wizard lists your choices.

  4. Click Finish.

    PowerBuilder places boxes for the selected reports in the Design view. In this example, you see three reports:

    The sample shows three boxes in the Detail band of the design view. One at the top is labeled composite product sales. Below it are composite product on the left and composite sales reps on the right, with all text underlined.
  5. Select File>Save from the menu bar and assign a name to the composite report.

  6. Look at the Preview view of the report:

    Shown is a sample of the report defined in the previous illustration.

    Notice that you are in print preview (which is read-only).

  7. Continue to enhance the composite report (for example, add a date and title).