To create a crosstab:
Select File>New from the menu bar.
The New dialog box displays.
Select the DataWindow tab.
Select the Crosstab presentation style, then click OK.
You are prompted to specify the data.
Specify the data you want retrieved into the DataWindow object.
For more information, see Chapter 18, “Defining DataWindow Objects.”
You are prompted to specify the data for the columns, rows, and cell values in the crosstab.
Enter the definitions for the columns, rows, and cell values in the crosstab.
Click Next.
Click Color and Border settings and click Next.
Review your specifications and click Finish.
PowerBuilder creates the crosstab.
(Optional) Specify other properties of the crosstab.
Save the DataWindow object in a library.