Steps for Creating a Report Using the Composite Presentation Style
\The Sandbox \PB History & Future \New in PB 4 \DW and Reporting \Composite Reports \Steps for Creating a Composite
Steps for Creating
a Composite
Nested Report in
Another Report

To create a report using the Composite presentation style:

  1. Click the Report button in the PowerBar or the PowerPanel.
  2. The Select Report dialog box displays. It lists reports (DataWindow objects) and has a New button.

  3. Click the New button.
  4. The New Report dialog box displays.

  5. Click the Composite presentation style.
  6. All the Data Sources become unavailable (grayed out) when you click Composite. Composite reports do not have data sources. They include other reports, which have their own data sources.

  7. Click OK in the New Report dialog box.
  8. The Select Reports dialog box displays all reports (DataWindows) in the libraries that are in the current application's library search path.

  9. Click the reports you want to include in the composite report and then click OK.
  10. PowerBuilder places boxes for the selected reports in the workspace.

  11. Select File > Save from the menu bar and assign a name to the report.
  12. Click the Preview button to see what your report looks like.
  13. Notice that when you preview reports, you go to print preview (which is read-only) instead of standard preview, where you can update data in an updatable DataWindow object.

  14. Click the Design button to return to the workspace and continue to enhance the composite report.

Previewing composite reports is different from previewing other types of reports
When previewing a composite report, you may notice that the Rows > Filter, Rows > Import, and Rows > Sort menu items are grayed. You cannot choose these options. If you want to use any of these options, you can go back to the workspace and access the nested report(s), where these options are available in preview. 

PBL Peeper PB Help PB History
& Future About Us Feedback Site Map

Google
 
Web www.techno-kitten.com
www.sybase.com