Creating crosstabs

To create a crosstab:

  1. Select File>New from the menu bar.

    The New dialog box displays.

  2. Select the DataWindow tab.

  3. Select the Crosstab presentation style, then click OK.

  4. On the Choose Data Source for Crosstab DataWindow page, specify the data you want retrieved into the DataWindow object.

    For more information, see Defining DataWindow Objects.

  5. In the Define Crosstab Rows, Columns, Values page, enter the definitions for the columns, rows, and cell values in the crosstab.

    See Associating data with a crosstab.

  6. Click Next.

  7. Choose Color and Border settings and click Next.

  8. Review your specifications and click Finish.

    PowerBuilder creates the crosstab.

  9. (Optional) Specify other properties of the crosstab.

    See Enhancing crosstabs.

  10. Save the DataWindow object in a library.